15.6 A Brand New You 203
Figure 15.13: Adding a user at the shell prompt
Remember that the password must be easy to recall and a unique mixture of letters, symbols and/or
numbers.
That’sit.
From now on, whenever you want to add a user, change account information or change account
passwords – including the root password – either useradd or linuxconf will fit the bill. Make
sure you’re logged in as the root user, however.
Tip: If you find yourself switching around frequently between the root account and
your user account, it can become confusing to know which account you’re actually
logged into. You can always tell you’re in the root account you see the word [root
at the start of the shell prompt or the hash mark (#) at the end. If you see (for example)
[billy, or the dollar sign ($), you’reworkinginyouruseraccount.
Regardless of the method you choose – from the shell prompt or from Linuxconf – your new user
account’s “login directory” will be placed in a subdirectory of /home.
To finish up and try out your new account, log out from your root account.
Comments to this Manuals