LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-21-2008, 10:46 AM   #1
hrishikesh_am
LQ Newbie
 
Registered: Mar 2007
Posts: 6

Rep: Reputation: 0
Putting multiple users in one group in one shot


Hello to everybody,

Suppose, if I have thousands users in an organization, and I have to put 100 users in one group which I have newly created. How could I do it? With usermod command, I can add one user at a time into
the new group. So kindly help me out in the situation.

Regards,

Hrishikesh

Last edited by hrishikesh_am; 06-21-2008 at 10:55 AM.
 
Old 06-21-2008, 10:54 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
first make the list of users with required details and password (or use a password generator) and write a script to do it. In enterprise editions, specific ways will be available.
See the RH system administration book or more recent ones for example.

Best

A. Mani
 
Old 06-21-2008, 11:09 AM   #3
hrishikesh_am
LQ Newbie
 
Registered: Mar 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks Mani for the quick response, but I know little about writing script, so can you please guide me or give a reference to particular RH system administration book so I can refer.

Regards,

Hrishikesh


==================================================

Quote:
Originally Posted by amani View Post
first make the list of users with required details and password (or use a password generator) and write a script to do it. In enterprise editions, specific ways will be available.
See the RH system administration book or more recent ones for example.

Best

A. Mani
 
Old 06-21-2008, 12:14 PM   #4
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
A Practical Guide to Red Hat® Linux®, Third Edition: Fedora™ Core and Red Hat Enterprise Linux
By Mark G. Sobell
...............................................
Publisher: Prentice Hall
Pub Date: June 27, 2006
Print ISBN-10: 0-13-228027-2
Print ISBN-13: 978-0-13-228027-3
Pages: 1168

Linux© Troubleshooting for System Administrators and Power Users
By James Kirkland, David Carmichael, Christopher L. Tinker, Gregory L. Tinker
...............................................
Publisher: Prentice Hall
Pub Date: April 27, 2006
Print ISBN-10: 0-13-185515-8
Print ISBN-13: 978-0-13-185515-1
Pages: 624

This will be good. The Redhat admin book is older and can be downloaded free.
'RUTE' is very practical too (can be installed in *buntu)
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
creating multiple users naumz Linux - Newbie 5 10-05-2007 05:36 PM
Multiple Autologins; Multiple Users; Multiple Sessions mrclisdue Linux - Desktop 1 09-26-2007 05:50 AM
creating multiple users sikkalgopal Linux - Newbie 3 07-06-2007 06:01 AM
Creating multiple users in Kmail with a single KDE user jonole Linux - Software 3 10-03-2004 12:36 AM
script for creating multiple users d3funct Programming 1 08-21-2001 05:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:55 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