Your Webhosting Questions
Answered by the Webhosting Experts

How to : Add user on FreeBSD server from shell

adduser -s (s – silent, not a verbose o/p).

Use option “-verbose” if you want to see more warnings and questions
or try to repair bugs.

The following are the info to be input while adding an user.
Enter username [^[a-z0-9_][a-z0-9_-]*$]: perfectpair
Enter full name []: shelluser
Enter shell bash csh date no sh tcsh [sh]: sh
Enter home directory (full path) [/home/perfectpair]: /hsphere/local/home/perfectpair/
Uid [1000]:
Enter login class: default []:
Login group perfectpair [perfectpair]:
Login group is “perfectpair”. Invite perfectpair into other groups: guest no
[no]: no
Enter password []:
Enter password again []:
This is the info displayed after the user is created successfully.

Name: perfectpair
Password: ****
Fullname: shelluser
Uid: 1000
Gid: 1000 (perfectpair)
Groups: perfectpair
HOME: /hsphere/local/home/perfectpair/
Shell: /bin/sh
OK? (y/n) [y]: y
Added user “perfectpair”
Add another user? (y/n) [y]: n
[root@cp home]#

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: [email protected]. We are also available to you through our phone and live chat system 24/7/365.

Tags +