Answered by the Webhosting Experts

Hivelocity
Dedicated Servers

Bare Metal Computing
Tired of overpaying for outdated hardware or nonexistent technical support?

Click now and chat with our highly skilled account managers. Learn about Hivelocity's latest server deals or browse our bare metal servers by clicking the link below.

See the Hivelocity difference today!

Tags
...
...

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)
Class:
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]#

 

Share

Facebook
Twitter
LinkedIn
Email
WhatsApp

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 my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

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