[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: passwd



On Thu, Jan 24, 2002 at 01:56:37AM +0100, martin f krafft wrote:
> also sprach Gerard Robin <robin.jag@free.fr> [2002.01.24.0138 +0100]:
> > I have written a script perl(not very perlich ;-))  which install 
> > n accounts but I have encountered few problems:
> 
> /usr/bin/newusers
> 
> don't reinvent the wheel...
> 
> > A question: what is the use of "mkpasswd" in debian (potato-woody) ?
> 
> makepasswd | mkpasswd -H md5 --stdin
> 
> that's compatible with /etc/shadow if you use md5 passwords, which i
> think you are...

Many thanks for your advices.
"newusers" is very fast but we should write a script to put the file
of data in the form of passwd otherwise write a file of data in the
suitable form for 300 users(or +) may take a lot of time. 
"newusers" is not the entire whel :-) 

-- 
Gerard



Reply to: