Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-21-2004, 07:34 PM   #1
Red Squirrel
Registered: Dec 2003
Distribution: Mint 17.1 KDE on workstation, CentOS 6.x on servers
Posts: 990

Rep: Reputation: 38
users and groups

Is there a way to manage users and groups with the command line? I would assume yes, but I'm just not sure how.

Basically I want to be able to create users, put them in multiple groups, set home directory stuff like that. Thanks.
Old 02-21-2004, 07:38 PM   #2
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
type :
without any other arguments and it should show you all the instructions it can take
such as adding to groups, the home folder, etc ....
man useradd for a more detailed description ..

there is also :

etc, etc, etc
Old 02-22-2004, 07:37 PM   #3
Red Squirrel
Registered: Dec 2003
Distribution: Mint 17.1 KDE on workstation, CentOS 6.x on servers
Posts: 990

Original Poster
Rep: Reputation: 38
Thanks I think that will do it.

Also is there a way to view users like in a list or something? Sometimes I want to modify a user, or simply view information on a certain user but don't quite remember the name.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
groups and users twb2005 Linux - Newbie 7 10-10-2005 06:21 PM
users and groups twb2005 Linux From Scratch 2 10-10-2005 01:47 PM
users and groups twb2005 Red Hat 1 10-10-2005 01:47 PM
users, groups, and permissions mcd Linux - Newbie 3 05-26-2004 09:06 PM
users and groups krfulton Linux - Security 1 01-05-2004 03:43 AM

All times are GMT -5. The time now is 05:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration