Subject: Re: user without password?
To: pancake <email@example.com>
From: Eric Fox <firstname.lastname@example.org>
Date: 04/18/2006 10:17:20
Okay, ignore my previous suggestion to use an authrization key instead.
Just to make sure we've got the sequence of events straight:
- You edited the password field via vipw.
- You modifed the sshd_config file, setting PermitEmptyPasswords to yes.
- You restarted sshd.
- Users still cannot login to the anoncvs account via ssh?
/\---/\ Eric J Fox
/ o o \ Small Business Computer Support
\.\ /./ in the Phoenix Metropolitan Area
On Tue, 18 Apr 2006, pancake wrote:
> 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" <email@example.com> 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'