LinuxQuestions.org
Help answer threads with 0 replies.
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 07-07-2004, 01:08 PM   #1
brynjarh
Member
 
Registered: May 2004
Location: Iceland
Distribution: Ubuntu Dapper Drake
Posts: 172

Rep: Reputation: 30
How do I create accounts, groups and so on only using the command line?


How do I create accounts, groups and so on only using the command line?
 
Old 07-07-2004, 01:22 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Create an account: useradd (or adduser)
Create a group: groupadd

Short examples:
useradd -c "comment" -d "homedir" -m <loginname>
groupadd <groupname>

There are more option, please read both manpages before experimenting.

Other commands that you might need/want:
userdel -> delete user
groupdel -> delete group
usermod -> modify user
groupmod -> modify group

Hope this gets you going.
 
Old 07-07-2004, 01:42 PM   #3
brynjarh
Member
 
Registered: May 2004
Location: Iceland
Distribution: Ubuntu Dapper Drake
Posts: 172

Original Poster
Rep: Reputation: 30
Thanks, exactly what I needed to know.
 
  


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
How to create IPv6 multicast groups? jrodola Linux - Newbie 0 02-11-2005 11:27 AM
Is there a command line tool to create images? J_Szucs Linux - Software 5 11-11-2004 02:51 AM
User groups and accounts documentation Tymestream Linux - Newbie 1 09-03-2004 02:50 PM
How to create accounts muneebs123 Linux - Newbie 1 09-06-2003 01:38 PM
disabling user accounts via command line n1wil Linux - Security 3 07-25-2003 05:11 PM


All times are GMT -5. The time now is 08:53 AM.

Main Menu
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