Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 06-29-2007, 05:48 AM   #1
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-30-2007 at 12:24 AM.
Old 06-29-2007, 08:03 AM   #2
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Old 06-29-2007, 08:09 AM   #3
LQ Newbie
Registered: Jun 2007
Posts: 2

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

I've posted such a script...
Old 06-30-2007, 12:26 AM   #4
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


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 02:21 AM
shell backup script help needed Quakeboy02 Linux - Software 4 04-26-2007 06:20 PM
Shell Script needed urgently!!!! krudupa9 Linux - General 1 06-27-2006 01:51 PM
simple shell script help needed vbsaltydog Linux - Networking 10 05-02-2006 02:47 AM
Help needed learning to write a shell script for logons nistur Linux - Networking 8 10-02-2004 03:34 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:34 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration