search for: tremov

Displaying 1 result from an estimated 1 matches for "tremov".

Did you mean: tremor
1998 Jul 02
1
Synchronize Unix/SMB passwords with 'synchpasswd'
...mmy = <IN> # Skip the first 3 lines (header) $dummy = <IN> while ($line = <IN>) { @tokens = quotewords(':', 0, $line); # Tokenize the fields ($login,$uid) = @tokens[0,1]; # Grab login name & uid if ($uid <= $system_id) { # Remove system accounts printf ("\tRemoving $login ...\n"); next; } if ( (@validate = getpwnam("$login")) == NULL) { printf ("\tNo such user: $login\n"); next; } print OUT $line; # Keep this line } # # Clean up the files and store final version of the SMB password file # close (OUT); close (IN); unlin...