Also, why use 'uname' when 'hostname' is a much better tool for finding your hostname. Not to mention the Sys::Hostname module which does an even better job.while(<PWD>) { my($name,$passwd,$uid,$gid,$gcos,$dir,$shell)=split /:/; $uid=$UIDS{$name} if (defined $UIDS{$name}); $line=join ':',$name,$passwd,$uid,$gid,$gcos,$dir,$shell; print TMP $line; }
In reply to Re: Changing UIDs
by tadman
in thread Changing UIDs
by TStanley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |