Re: random password
From: Doug O'Leary (dkoleary_at_olearycomputers.com)
Date: 06/25/04
- Next message: Don His***: "Re: random password"
- Previous message: Shashank: "linking fails"
- In reply to: Patrick: "random password"
- Next in thread: Don His***: "Re: random password"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 25 Jun 2004 12:55:41 GMT
In article <3qcld0lh3pdhdibm0spk1rk1r5be8odabv@4ax.com>, Patrick wrote:
> Is there a way generate some random password in a script and directly
> change the password of a user. Al this in a script.
You'll need either expect or perl's expect module to change passwords
in a script. As far as generating random passwords, there's
plenty of scripts around that'll do that. A google search for
"random password generator" resulted in 205,000 hits. Adding script
to the search reduced the hit count to 97,500...
I've done this plenty of times for a variety of clients. It's not a
difficult script, but certainly not trivial especially if you're
building a reasonable amount of security into it.
Doug
-- -------- Senior UNIX Admin O'Leary Computer Enterprises dkoleary@olearycomputers.com (w) 630-904-6098 (c) 630-248-2749 resume: http://www.olearycomputers.com/resume.html
- Next message: Don His***: "Re: random password"
- Previous message: Shashank: "linking fails"
- In reply to: Patrick: "random password"
- Next in thread: Don His***: "Re: random password"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]