LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 02-21-2004, 08:34 PM   #1
Red Squirrel
Member
 
Registered: Dec 2003
Distribution: FC9 on main server
Posts: 823

Rep: Reputation: 36
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, 08:38 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
type :
useradd
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 :
adduser
userdel
usermod
groupadd
groupdel
groupmod

etc, etc, etc
 
Old 02-22-2004, 08:37 PM   #3
Red Squirrel
Member
 
Registered: Dec 2003
Distribution: FC9 on main server
Posts: 823

Original Poster
Rep: Reputation: 36
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.
 
  


Reply


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 07:21 PM
users and groups twb2005 Linux From Scratch 2 10-10-2005 02:47 PM
users and groups twb2005 Red Hat 1 10-10-2005 02:47 PM
users, groups, and permissions mcd Linux - Newbie 3 05-26-2004 10:06 PM
users and groups krfulton Linux - Security 1 01-05-2004 04:43 AM


All times are GMT -5. The time now is 06:52 PM.

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