User Maintainance


adduser is a Debian specific tool to add users to the system. adduser runs the standard linux useradd, groupadd, etc... just makes it convenient.

CREATED 2016-11-25 19:35:56.0

00-26-D4

UPDATED 2016-11-25 19:36:00.0

Adding a new User


adduser [options] username auser@aserver:~# adduser jerimia
Adding user `jerimia' ...

Login as Root or use su...

Create the login with the adduser command...

adduser creates the account, group and home directories by default. You supply some additional information like full name, room number (or department), phone numbers, etc... it helps to be root or use sudo.

CREATED 2013-02-16 22:29:40.0

00-19-F2

UPDATED 2016-11-25 19:36:00.0

Options for adduser...


adduser has options... these are some handy ones.

  • --disable-login - doesn't ask for a password. Disables the account until the password is set.
  • --gid <ID> - forces a specific user id.
  • --home <DIR> - sets the home directory as DIR
  • --uid <UID> - sets the user id to UID. Bombs if UID is already in use.

See the man page for more options.

CREATED 2016-11-25 19:20:47.0

00-26-D2

UPDATED 2016-11-25 19:21:05.0

Add a New Group...


addgroup [options] group

addgroup adds a new group to the system. The syntax is:

CREATED 2016-11-25 19:31:54.0

00-26-D3

UPDATED 2016-11-25 19:32:04.0

Change the Password...


passwrd [passwrd]

To change a password is not so intense.

CREATED 2016-11-25 18:32:42.0

00-26-D0

UPDATED 2016-11-25 18:32:52.0

Change Home Directory...


mkdir /home/[username] chmod [username:users] /home/[username]

Create or change the Home Directory...

CREATED 2016-11-25 18:33:33.0

00-26-D1

UPDATED 2016-11-25 18:33:41.0

Knowledge

L
I
N
K
S

DBID: db.wam

Page Server: Ruger

©2012 Leistware Data Systems

      Hello anonymous