Re: [techtalk] mass useradd

2000-06-26 Thread Aaron Malone
On Mon, Jun 26, 2000 at 04:35:37PM -0500, Aaron Malone wrote: > > As a matter of fact, there's a program that does exactly what you're > looking for: chpasswd(8). It takes a file of format: Except my sleep-addled brain just realized you wanted *add* a bunch of users, not change their passwords.

Re: [techtalk] mass useradd

2000-06-26 Thread Aaron Malone
On Thu, Jun 15, 2000 at 10:57:36AM -0400, Brian Sweeney wrote: > Hello all- > > Haven't been on the list in a while...hope everyone's doing well in their > endeavors. I have what I hope is a quick question. I would like to know if > there's a way (possible using perl/expect?) to add multiple us

Re: [techtalk] mass useradd

2000-06-15 Thread jenn
Marie Fischer wrote: > > > Is there a built-in linux command to do this, or does anyone know of a good > > script? > hm, this really belongs in a faq ... i'm sure we've had this question > before though i can't find it in the archives right now (argh. why aren't > they searchable?) Added as a qu

Re: [techtalk] mass useradd

2000-06-15 Thread Marie Fischer
> Is there a built-in linux command to do this, or does anyone know of a good > script? hm, this really belongs in a faq ... i'm sure we've had this question before though i can't find it in the archives right now (argh. why aren't they searchable?) -- marie

Re: [techtalk] mass useradd

2000-06-15 Thread Stephanie Alarcon
i had a line in a script that went like echo "passwd for $pos: `/usr/bin/mkpasswd -l 8 -d 2 -c 2 -C 2 $pos`" >> $PASSWORDLIST you could put that in a for loop and have mkpasswd create and set the password at the same time, then spit the password out into a file so you know what mkapsswd

[techtalk] mass useradd

2000-06-15 Thread Brian Sweeney
Hello all- Haven't been on the list in a while...hope everyone's doing well in their endeavors. I have what I hope is a quick question. I would like to know if there's a way (possible using perl/expect?) to add multiple users from a text file list all simultaneously. I figure I could either p