LinuxQuestions.org
Visit Jeremy's Blog.
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-08-2006, 09:17 AM   #1
uthinkicare
LQ Newbie
 
Registered: Jun 2006
Posts: 8

Rep: Reputation: 0
how to create many user accounts using suse linux?


hi guys, any1 knows how to create alot of user accounts using suse linux? do i have to create a shell script?


thanks in advance...
 
Old 06-08-2006, 12:45 PM   #2
uthinkicare
LQ Newbie
 
Registered: Jun 2006
Posts: 8

Original Poster
Rep: Reputation: 0
up................
 
Old 06-08-2006, 12:57 PM   #3
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,937

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
You can use newusers. Read the man page to see how you must format the input file.
 
Old 06-08-2006, 11:18 PM   #4
uthinkicare
LQ Newbie
 
Registered: Jun 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bathory
You can use newusers. Read the man page to see how you must format the input file.

yah i know how to creat a user accounts. but right now, i have to create 10k user accounts. so i was wondering is there any method to create them?
 
Old 06-08-2006, 11:50 PM   #5
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
one by one.

10k seems a bit excessive! Do you work for a large company? If so, I would recommend hiring a lacky to do this for you, as it can get tedious.

As to your question, I don't know if there's really way to do this in bulk.
 
Old 06-09-2006, 12:31 AM   #6
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
If the OP took the time to read what bathory said, the command: newusers file.txt may do the trick.
You put info into a file which looks like the /etc/password file. This uses plain passwords in the file and are in the field next to the user name.
Code:
sue:bpkc-100es:500:500::/home/sue:/bin/bash
tom:bpkc-100es:500:500::/home/tom:/bin/bash
fred:bpkc-100es:500:500::/home/fred:/bin/bash
joe:bpkc-100es:500:500::/home/joe:/bin/bash
 
Old 06-09-2006, 09:46 AM   #7
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
Hmm, that seems brilliant, thanks for the info!
 
  


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
how to create user root accounts - SuSE 92 jdaniel Linux - Software 3 07-29-2005 11:35 AM
Using LDAP to create and Manage Linux Accounts BBQ_Matt Linux - Networking 2 06-20-2005 04:20 PM
Allowing a normal nonroot user to create accounts? jon_k Linux - Software 3 07-10-2004 02:17 AM
Create Limited User Accounts epihammer Mandriva 3 05-18-2004 02:52 PM
Create many user accounts kelper Linux - Software 7 09-06-2003 06:03 AM


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