[TriLUG] stupid user management question
Mike Johnson
mike at enoch.org
Thu Nov 18 19:31:53 EST 2004
Aaron S. Joyner wrote:
> useradd foo # Adds a user named foo
> usermod -g users foo # Changes foo's primary group to users
> userdel foo # Deletes foo, and the usergroup foo that was created
> when the user was
And, by they way, if you do not have usermod and its ilk, you should at
least have the vipw command which enables making 'safe' edits of the
passwd file (uses lockfiles) and is a good practice to get into if you
do start making hand edits of the passwd file.
Mike
More information about the TriLUG
mailing list