Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2008 13:14:21 +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:  <47959B51.8030405@wlink.com.np>
In-Reply-To: <200801220717.m0M7HLjR049208@banyan.cs.ait.ac.th>
References:  <47958F26.3030704@wlink.com.np> <200801220717.m0M7HLjR049208@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Oliver,

Olivier Nicole wrote:
>> Due to some security purposes, I need to re-generate all the passwords 
>> for my users from the file /etc/passwd.
> 
> I use the following script to generate passwords:
> 
>    http://www.cs.ait.ac.th/cgi-bin/phi-soft/gen-multipasswd

How do I use the above script for my machine which I access remotely by SSH.


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


> 
> The password is generated as a psuedo Markov chain on probability
> based on some pieces of English text (FreeBSD man pages). It adds at
> least 2 numbers, one non alpha-numerical sign and turns some letters
> into uppercase.
> 
> At first the passwords were very English like "words", now it is more
> confusing.
> 
> non-alpha-numerical characters are choosen to avoid conflicts with the
> softwares I am using it: samba, FreeBSD login, MySQL...

Sounds great!

Thanks alot


> 
> Best regards,
> 
> 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?47959B51.8030405>