next up previous contents index
Next: Setting/Forgotten Passwords Up: User Accounts Previous: User Accounts   Contents   Index


Account Creation/Deletion

There are easy commands for creation and deletion of user accounts. To create an account you can use the useradd command. Here is the easiest example:

bash# useradd bob

This will create a user account called bob. If you want to insert more information you can. Take a look at this example:

bash# useradd -c ``John Doe'' john

This adds a little bit of information. This comment is stored in the /etc/passwd file.

To delete an account you can type:

bash# userdel bob

This will erase the account, but the directories will still be there. To erase everything in the home directory use this command instead:

bash# userdel -r john



Joseph Colton 2002-09-24