Re: How to generate password hashes for vipw and chpass

2008-10-06 Thread Adam Zaleski
Ivan Rambius Ivanov pisze: # /sbin/md5 -s newpassword and then I passed the output to chpass. I tried to use the new password for the next login but it failed - so I believe this is wrong. Can you please show me how to generate the password hashes? You can add new account with one command

Re: How to generate password hashes for vipw and chpass

2008-10-06 Thread Ivan Rambius Ivanov
Hello Adam, On Mon, Oct 6, 2008 at 8:40 AM, Adam Zaleski [EMAIL PROTECTED] wrote: Ivan Rambius Ivanov pisze: # /sbin/md5 -s newpassword and then I passed the output to chpass. I tried to use the new password for the next login but it failed - so I believe this is wrong. Can you please show

Re: How to generate password hashes for vipw and chpass

2008-10-06 Thread Sahil Tandon
Ivan Rambius Ivanov [EMAIL PROTECTED] wrote: Can you please show me how to generate the password hashes? There are many tools; I use security/makepasswd. -- Sahil Tandon [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list

How to generate password hashes for vipw and chpass

2008-10-05 Thread Ivan Rambius Ivanov
Hello, According to man pages of chpass(1) and vipw(1) I can create and modify users by supplying a user database entry in passwd(5) format. The only problem I face is that I do not know how to generate the password hashes for the password field. Following section 14.4

Re: How to generate password hashes for vipw and chpass

2008-10-05 Thread Adam Zaleski
Ivan Rambius Ivanov pisze: # /sbin/md5 -s newpassword and then I passed the output to chpass. I tried to use the new password for the next login but it failed - so I believe this is wrong. Can you please show me how to generate the password hashes? You can add new account with one command