Ny användare med adduser

Använd kommandot adduser när du skapar en ny användare. Jag skapar användaren "titus".

bash-3.1# adduser titus

Login name for new user: titus

User ID ('UID') [ defaults to next available ]:
Tryck "Enter" 

Initial group [ users ]:
Tryck "Enter"
 
Additional UNIX groups:

Users can belong to additional UNIX groups on the system.
For local users using graphical desktop login managers such
as XDM/KDM, users may need to be members of additional groups
to access the full functionality of removable media devices.

* Security implications *
Please be aware that by adding users to additional groups may
potentially give access to the removable media of other users.

If you are creating a new user for remote shell access only,
users do not need to belong to any additional groups as standard,
so you may press ENTER at the next prompt.

Press ENTER to continue without adding any additional groups
Or press the UP arrow to add/select/edit additional groups
tryck på upp-pilen för att välja ytterligare grupper

:  audio cdrom floppy plugdev video power netdev
Tryck "Enter"

Home directory [ /home/titus ]
Tryck "Enter" 

Shell [ /bin/bash ]
Tryck "Enter" 

Expiry date (YYYY-MM-DD) []:
Tryck "Enter" 
 

New account will be created as follows:

---------------------------------------
Login name.......:  titus
UID..............:  [ Next available ]
Initial group....:  users
Additional groups:  audio,cdrom,floppy,plugdev,video,power,netdev
Home directory...:  /home/titus
Shell............:  /bin/bash
Expiry date......:  [ Never ]

This is it... if you want to bail out, hit Control-C.  Otherwise, press
ENTER to go ahead and make the account.
Tryck "Enter" 

Creating new account...


Changing the user information for titus
Enter the new value, or press ENTER for the default
Fyll i värden eller tryck "Enter" för standardvärden 
	Full Name []: 
	Room Number []: 
	Work Phone []: 
	Home Phone []: 
	Other []: 
Changing password for titus
Enter the new password (minimum of 5, maximum of 127 characters)
Please use a combination of upper and lower case letters and numbers.
New password:
8 olika tecken är ett starkt lösenord..Tryck "Enter" 

Re-enter new password:
upprepa och tryck "Enter" 

Password changed.

Account setup complete.
bash-3.1# 

 

Valid XHTML 1.0 Transitional