Commit 6fe708ea authored by Leigh Stoller's avatar Leigh Stoller

Change to updatemasterpasswdfiles handling; do not skip root/toor when

building the new files, since this will cause user additions to get
lost, and that is the whole point of this code.
parent 37942186
......@@ -294,10 +294,6 @@ sub os_account_cleanup($)
my ($real,$master) = @$pairRef;
foreach my $ent (keys(%{$lineHash{$real}})) {
# skip root and toor!
next
if ($ent eq 'root' || $ent eq 'toor');
# push new entities into master
if (!defined($lineHash{$master}->{$ent})) {
# append new "line"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment