Deleting / Creating User Accounts

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
labbe5
Posts: 2159
Joined: Wed 13 Nov 2013, 14:26
Location: Canada

Deleting / Creating User Accounts

#1 Post by labbe5 »

Dog-based OS can create user accounts :
adduser username (basic command)

To delete user account, Home folder and personal files :

deluser -remove-all-files username

Further reading :
Add a User to a Group in Linux on Command Line
http://www.putorius.net/2015/03/how-to- ... group.html

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#2 Post by s243a »

For slacko install the shadow package. I think tahrpup has addusr linked to busybox instead of using the script from the shadow package but I need to verify.

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

Re: Deleting / Creating User Accounts

#3 Post by dancytron »

labbe5 wrote:Dog-based OS can create user accounts :
adduser username (basic command)

To delete user account, Home folder and personal files :

deluser -remove-all-files username

Further reading :
Add a User to a Group in Linux on Command Line
http://www.putorius.net/2015/03/how-to- ... group.html
In Debian Dog (and I think Fatdog too), there are gui utilities to add and remove users that give you the chance to set all the correct groups, set up the home/user directory etc. There is no need to use the command line and set up all that stuff manually.

Post Reply