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 -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
