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.
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
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
> 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
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
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