HostOnNet Blog

Creating a User in FreeBSD

Looking for Linux Server Admin or WordPress Expert? We can help.

You can create a new user with adduser command in FreeBSD.
 
Here is how i created a user “backup” for remote FTP Backup.
 
 
server128# adduser
Username: backup
Full name: Backup Account
Uid (Leave empty for default):
Login group [backup]:
Login group is backup. Invite backup into other groups? []:
Login class [default]:
Shell (sh csh tcsh bash bash jailshell noshell ftpsh nologin) [sh]: nologin
Home directory [/home/backup]:
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]:
Use a random password? (yes/no) [no]: yes
Lock out the account after creation? [no]:
Username   : backup
Password   :
Full Name  : Backup Account
Uid        : 1551
Class      :
Groups     : backup
Home       : /home/backup
Shell      : /usr/sbin/nologin
Locked     : no
OK? (yes/no): yes
adduser: INFO: Successfully added (backup) to the user database.
adduser: INFO: Password for (backup) is: SDkf.noltM
Add another user? (yes/no): no
Goodbye!
server128#
 

Posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.