Adding a New User to your FreeBSD Server
For those users who just can't seem to figure out how to add users to there unix box, this acticle will show you the information that you need to use. Below is a example of a adduser command, that we used to setup a new user called John Smith.
Use option ``-silent'' if you don't want see all warnings & questions.
Enter your default shell: csh date no sh [csh]:
Your default shell is: csh -> /bin/csh
Enter your default HOME partition: [/usr/home]:
Copy dotfiles from: /usr/share/skel no [/usr/share/skel]:
Send message from file: /etc/adduser.message no [no]:
Do not send message
Use passwords (y/n) [y]:
Ok, let's go.
Don't worry about mistakes. I will give you the chance later to correct any input.
Enter username [a-z0-9_-]: john
Enter full name : John Smith
Enter shell csh date no sh [csh]:
Enter home directory (full path) [/usr/home/john]:
Enter login class: default :
Login group john [john]:
Login group is ``john''. Invite john into other groups: guest no
Enter password :
Enter password again :
Fullname: John Smith
Gid: 1009 (john)
OK? (y/n) [y]:
Added user ``john''
Copy files from /usr/share/skel to /usr/home/john
Add another user? (y/n) [y]: