Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2003 13:34:06 -0700 (PDT)
From:      Shizuka Kudo <shizukakudo_99@yahoo.com>
To:        "Jacques A. Vidrine" <nectar@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: HEADS UP: new NSS
Message-ID:  <20030418203406.23047.qmail@web11401.mail.yahoo.com>
In-Reply-To: <20030418193828.GA53590@madman.celabo.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--- "Jacques A. Vidrine" <nectar@FreeBSD.org> wrote:
> On Fri, Apr 18, 2003 at 12:18:47PM -0700, Shizuka Kudo wrote:
> > Hi Jacques,
> > 
> > Thanks for your quick fix. I just tried and it works now. The
> > only question I have is that the same error occurs if I deleted
> > /etc/nsswitch.conf.  Is it the intended behaviour?
> >
> > %ls -al /etc/nsswitch.conf
> > ls: /etc/nsswitch.conf: No such file or directory
> > %passwd
> > passwd: can't change little green men's passwords (0x3df)
> 
> Depends.  Are you using `compat' mode?
> 
> When there is no /etc/nsswitch.conf, then the defaults are as
> listed in nsswitch.conf(5), in particular:
> 
>    passwd: compat
>    passwd_compat: nis
> 
> But, I would have expected that you would have either gotten
> `passwd: who are you?', or it would have succeeded (if you have
> a `+' entry in passwd(5)).
> 
> What is your configuration? i.e. do you have a `+' entry, or not?
> do you have a template entry?  do you have the user in both passwd(5)
> and NIS, or only one or the other?
> 
Jacques,

I only have passwd(5) setup.  In fact, it is a new installworld with only one user added and root
password changed. So there's no '+' entry in /etc/passwd nor NIS. I renamed /etc/nsswitch.conf 
and then found the same issue.

Regards,

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030418203406.23047.qmail>