LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:31 AM.

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
Open Source Consulting | Domain Registration