Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2008 14:16:46 +0545
From:      Tek Bahadur Limbu <teklimbu@wlink.com.np>
To:        Olivier Nicole <on@cs.ait.ac.th>
Cc:        questions@freebsd.org
Subject:   Re: Need to re-generate the passwords in /etc/passwd
Message-ID:  <4795A9F2.9090204@wlink.com.np>
In-Reply-To: <200801220740.m0M7e73W049416@banyan.cs.ait.ac.th>
References:  <47958F26.3030704@wlink.com.np>	<200801220717.m0M7HLjR049208@banyan.cs.ait.ac.th> <47959B51.8030405@wlink.com.np> <200801220740.m0M7e73W049416@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4795A9F2.9090204>