LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] How to automate password creation

[ILUG] How to automate password creation

Fergal Daly fergal at esatclear.ie
Thu Jun 22 12:59:31 IST 2000


At 13:36 22/06/00, Niall  O Broin wrote:
>On Thu, Jun 22, 2000 at 12:19:43PM +0100, Fergal Daly wrote:
>
> > >You could use this as is in conjunction with your scripts and modify
> > >/etc/passwd (or /etc/shadow) as appropriate. Alternatively, you could read
> > >the man pages for useradd and then use this program to generate the
> > >arguments to the -p switch of useradd.
> >
> > or use chpasswd to modify a whole load of passwords in batch (takes plain
> > or encrypted),
>
>Why is it that whenever I have a little Perl solution to a problem, there's
>always a ready made solution that I don't know of (and I did look) :-) What
>was that little program to generate lists of numbers ? (seq - I just looked,
>and of course I'll never remember it again)
>
>Boo hoo !

Don't feel too bad. I spent days fiddling with perl's expect module and 
it's funny behaviour when run from cgi before I stumbled across chpasswd,

Fergal






More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell