SliTaz SliTaz Forum

You are not logged in.

#1 2012-12-30 09:47:24

emgi
Member
Registered: 2012-12-17
Posts: 127

About usermod

This is really a basic question but on my system the binary 'usermod' is missing which implies it is not part of the distribution files. What I have there is addgroup, delgroup, adduser & deluser but I didn't find a tool to manipulate group membership for existing users.

Even though I know how to do it, editing /etc/passwd and etc/group is not my favorite way of acomplishing this fairly basic objective. Is there another tool -using the GUI- which is intended for this purpose? In that case it is well hidden. Or did no one ever feel the need to do anything beyond creating a default user? ;-)

Thanx for enlightening me.

/emgi

Offline

#2 2012-12-30 18:24:46

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: About usermod

adduser username <= adds a user

deluser username <= deletes a user

addgroup groupname <= adds a group

delgroup groupname <= deletes a group

adduser -G groupname  username <= adds a user to a group

addgroup username groupname <=adds a user to a group

delgroup username groupname <= deletes a user from a group

Type the commands in the shell for more options.

Offline

#3 2013-01-13 08:35:24

emgi
Member
Registered: 2012-12-17
Posts: 127

Re: About usermod

Indeed, that it how it works.

Thnx!

/emgi

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]