Adding Users
Adding more system users (FreeBSD 5.2)
Posted 04.11.2004 | Updated 23.05.2006 | Contributed by Andy Mallett


To add a user, type:

adduser  -silent

The optional -silent switch reduces the number of prompts and questions

Username: andym

Full name: Andrew Mallett

Uid: default   UID is a unique number used to keep track of users; use system default

Login group [andym]: Press ENTER for default..

Invite andym into other groups?: Press ENTER for default.. [no]

The login group tells UNIX what security group you belong to. The group 'wheel' is an important group that classes you with the superuser. If you aren't in the group 'wheel,' you can't gain root access remotely. You can invite special users into the group 'wheel,' or create a separate security group for people who need to work together.

Login class [default]: Press ENTER for default..

The login class is a feature in some versions of BSD which allows you to set up resource limits for groups of users.

Shell (cs csh tcsh bash nologin) [sh]: sh

Home directory [/home/andym]: Press ENTER to confirm..

Use password-based authentication? yes

Use an empty pasword? no

Use a random password? no

Enter password: You are prompted to reenter the password twice..

Lock out the account after creation? no

OK? yes..or no if you want to change options on the summary screen..

Done..