LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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-29-2007, 04:48 AM   #1
EsAsher
LQ Newbie
 
Registered: Jun 2007
Posts: 8

Rep: Reputation: 0
Help needed on Mass user creation using shell script


Hi guys,
Im currently using Suse Linux 9.0 and is trying to program a script that will create multiple user accounts automatically with encrypted passwords. An example account would be
Login name: user00
password: pass00
UID: 500
GID: 1000
Home dir: /home/user00
Shell: /bin/sh

I need to create 100 of such user accounts automatically.Can this be done?How do i go about scripting this?Sorry im new to linux and is currently learning the ropes but was assigned this difficult task. Any help would be appreciated. THX!

Last edited by EsAsher; 06-29-2007 at 11:24 PM.
 
Old 06-29-2007, 07:03 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
http://www.linuxquestions.org/questi...d.php?t=565325
 
Old 06-29-2007, 07:09 AM   #3
Joss_Baumont
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
Look my thread under yours...

I've posted such a script...

http://www.linuxquestions.org/questi...d.php?t=565345
 
Old 06-29-2007, 11:26 PM   #4
EsAsher
LQ Newbie
 
Registered: Jun 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Opps! Sorry i thought my previous post wasnt successfully submitted so i posted again. Sorry for the double post. and thx joss
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql user creation script tanveer Linux - Server 2 06-20-2007 01:21 AM
shell backup script help needed Quakeboy02 Linux - Software 4 04-26-2007 05:20 PM
Shell Script needed urgently!!!! krudupa9 Linux - General 1 06-27-2006 12:51 PM
simple shell script help needed vbsaltydog Linux - Networking 10 05-02-2006 01:47 AM
Help needed learning to write a shell script for logons nistur Linux - Networking 8 10-02-2004 02:34 AM


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