Welcome to the most active Linux Forum on the web.
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 06-03-2006, 11:19 PM   #1
Registered: Oct 2005
Location: Bangladesh
Posts: 502

Rep: Reputation: 31
Question Adding users to a group

Friend ,

I have a question about creating GROUP in a Linux Box .
Suppose i make a group "Microsoft " using the following command :
"useradd Microsoft "
Now under this group i want to keep 5(Five) Users Like A B C D E . Plz provide the neccessary command How i can add these 5 users under this Group "microsoft" .
Old 06-04-2006, 12:10 AM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
man usermod

Old 06-04-2006, 12:40 PM   #3
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Also, "useradd microsoft" won't give you a group named microsoft, it will give you a user named microsoft, which isn't what you want. Tink was quite correct with man usermod, and I also suggest man groupadd.



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
group creation + adding users without root permission rblampain Programming 5 05-12-2006 08:55 PM
/etc/group - the group users empty Artanicus Linux - General 2 02-22-2005 05:25 AM
Adding a group to a group? caps_phisto Linux - Newbie 4 12-27-2004 01:59 PM
"adduser" not adding users to default group "users" PunkPT Slackware 2 09-23-2004 12:50 PM
Adding a group fuelinjection Linux - General 3 12-07-2003 08:14 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:47 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
Open Source Consulting | Domain Registration