Subject: Re: user without password?
To: None <>
From: pancake <>
List: netbsd-users
Date: 04/18/2006 19:11:39
I know that I need to use pwd_mkdb or vipw to change the master.passwd, that what I do.

So, I want to setup an 'anoncvs' account thru ssh without password. So, sharing the key is not a good
solution imho, btw it remains without working.


On Tue, 18 Apr 2006 09:48:38 -0700 (PDT)
"Jeremy C. Reed" <> wrote:

> On Tue, 18 Apr 2006, Jeremy C. Reed wrote:
> > > I've modified the master.passwd emptying the password field and 
> > > configured sshd properly, but seems that all the time asks for password.
> > 
> > Have a look at /etc/ssh/sshd_config and the sshd_config(5) manual page 
> > for "PermitEmptyPasswords".
> I looked at your email again. You said "configured sshd properly" but 
> didn't mention what you did.
> sshd never looks at the master.passwd directly. It uses getpwent(3) 
> functions which use /etc/spwd.db or /etc/pwd.db hashes instead.
> So if you edit the master.passwd directly, your changes may not be 
> reflected in the real files.
> See vipw and pwd_mkdb man pages for more details.
>  Jeremy C. Reed
> echo ':6DB6=88>?;@69876tA=AC8BB5tA6487><' | tr '4-F' 'wu rofIn.lkigemca'