Thanks all
   Something I must clarify.
/etc/nsswitch.conf is set correctly as Rcik said
I can log in locally with root or normal user
No network connection problem, all testing linux boxes are connected together.
I think it has nothing to do with iptables."ypcat passwd" execute successfully. BTW I 
didn't start iptables but why I see the ip_tables module when I execute lsmod.
Can anyone successfully implement it on Redhat v9.0? pls share me with your experience.

-----Original Message-----
From: Rick Warner [mailto:[EMAIL PROTECTED] 
Sent: 2003年8月27日 1:46
To: [EMAIL PROTECTED]
Subject: Re: NIS client couldn't log in

On Tue, 2003-08-26 at 10:16, Ben Hall wrote:
> I'm using RH9 to connect to an existing NIS server (on Solaris.)  I had
> problems connecting to the server when RH's firewall (iptables) was
> running.  Try turning that off.  
> 
> (PS:  Your HTML mail gave _VERY_ small fonts on my copy of Evolution, I
> could barely read your message.)
> 
> On Sun, 2003-08-24 at 21:15, Zhou, Rongx wrote:
> > Hi, all
> > 
> >       I recently setup NISenvironment in linux boxes. I use Redhat
> > 9.0. I think the environment set up properly with a NIS master , a NIS
> > slave and a NISclient.  From the NIS client machine I type the ypcat
> > passwd, I can see the newly added user accounts. But I can’t log in
> > using this testing account through ssh. Can anyone give me advice?
> > Thanks a lot.

Since he can do ypcat and see the result the problem is not iptables;
if it were then ypcat would fail, too.

The likely problem is our good friend /etc/nsswitch.conf.  Make sure
that the passwd line included nis, i.e., it looks something like
  
   passwd:   files nis

If not, then make the appropriate change.   

If nsswitch.conf is correct, then we need to start looking at the scope
and asking some questions.  Can you connect and login to a local (in
/etc/passwd) accout?  If not, the problem is more global than nis.
But lets start with the switch file.

- rick warner


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to