Need to re-generate the passwords in /etc/passwd
Tek Bahadur Limbu
teklimbu at wlink.com.np
Tue Jan 22 00:32:51 PST 2008
Hi Oliver,
Olivier Nicole wrote:
>> How do I use the above script for my machine which I access remotely by SSH.
>
> Yuck. I could email you a list of 1000 random strings?
>
>>> I could send it to you as Perl script, so you could generate 500
>>> passwords in one run, or you call the web page enough number of times.
>> That will be great! So I just run the script against /etc/passwd and
>> presto, all the users in that file will be generated new passwords.
>>
>> I will need a way to pass the newly generated passwords to individuals
>> users.
>
> No, the script only generates random strings, you would have to apply
> these strings to the accounts.
>
> The idea would be to make a file with a list of user name and new
> password, then use this file to feed to a script that force the new
> password.
>
> You have to keep that file in clear text, there is no way you can
> retreive the new opassword after you have applied it to a user
> account.
Ok I get it.
I will follow it up according to your methods.
Thanks.
>
>
> Bests,
>
> Olivier
>
>
>
>
--
With best regards and good wishes,
Yours sincerely,
Tek Bahadur Limbu
System Administrator
(TAG/TDG Group)
Jwl Systems Department
Worldlink Communications Pvt. Ltd.
Jawalakhel, Nepal
http://www.wlink.com.np
http://teklimbu.wordpress.com
More information about the freebsd-questions
mailing list