Subject: Re: user without password?
To: pancake <pancake@phreaker.net>
From: Johnny Billquist <bqt@update.uu.se>
List: netbsd-users
Date: 04/18/2006 19:34:39
Hmmm. PAM rears it's ugly head? :-)
Once you thought you knew how to get a Unix system to behave the way you
wanted. Now it's getting as obfuscated as windows? :-)
This is really a case where PAM is meddling where it shouldn't. If you
explicitly have an account without password, and you explicitly tell
sshd that accounts without passwords are ok, then you would think that
should be it. Is anyone but me thinking that we're getting too many
subsystems dealing with the same issue here, which makes it very hard to
get things right?
Johnny
pancake wrote:
> Disabling PAM works :) Thanks.
>
> But ..now just for interest, what I've to do to make't work with PAM?
>
> I've been testing with pam_guest.so guests=anoncvs nopass in /etc/pam.d/sshd...
> but looks like i'm doing something wrong.
>
> So, thanks for the help.
>
> --pancake
>
> On Tue, 18 Apr 2006 19:16:08 +0200
> Quentin Garnier <cube@cubidou.net> wrote:
>
>
>>On Tue, Apr 18, 2006 at 06:35:21PM +0200, pancake wrote:
>>
>>>Is it possible to create a user without password?
>>>
>>>I've modified the master.passwd emptying the password field and
>>>configured sshd properly, but seems that all the time asks for password.
>>>
>>>any idea?
>>
>>You probably need to teach the relevant PAM module to accept empty
>>passwords. Or just say "up yours" to PAM and set UsePAM to no in
>>sshd_config.
>>
>>--
>>Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
>>"When I find the controls, I'll go where I like, I'll know where I want
>>to be, but maybe for now I'll stay right here on a silent sea."
>>KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
>>
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt@update.uu.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol