Creating a User in FreeBSD

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#
 

Related posts:

  1. Securing MySQL database on Cpanel Servers
  2. Editing User Quota in Linux
  3. FreeBSD 5.3 Server Setup – Apache Install
  4. User Security
  5. FreeBSD 5.3 – PureFTPD Install
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>