Windows DatabaseebooksStatistical Information

LLE10229 : Howto add a user to a debian like system


You want to add users to your debian, kubuntu, ubuntu, knoppix, ... system.




To add an remove users in debian you use the adduser, addgroup and deluser commands. They are friendlier front ends to the low level linux tools like useradd, groupadd and usermod

programs. Adduser and addgroup add users and groups to the system according to command line options and configuration information in /etc/adduser.conf. Deluser can remove users and

groups and remove users from a given group.

The debian way of adding users is easier than adding them by hand. Adduser will choose appropriate UID and GID values, create a home directory, copy skeleton user configuration, allow

you to set an initial password and the GECOS field. Deluser can optionally remove and backup the user's home directory and mail spool or all files on the system owned by him.

Optionally a custom script can be executed after each of the commands.


adduser testuser

Now you will have to answer a few questions like the password, Full Name, Room Number, ...


The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2016 Lubby (V3.0.11 Jan 2016)
Sponsored by Keskon.
Datenschutzerklaerung - Privacy statement - Privacyverklaring