Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* RE: ypbind(nis) problems
@ 2001-07-27 15:24 Kurt Ludwig
  2001-07-27 15:51 ` Shoshana Rosenthal
  0 siblings, 1 reply; 4+ messages in thread
From: Kurt Ludwig @ 2001-07-27 15:24 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

ok... ypbind is running...

take a look at your /etc/nsswitch.conf file and make sure there's a lines
that look similar to this.
that should fix the authentication problems you are seeing. If not, let me
know.

passwd:	files nis
group:	files nis

as far as the automounting goes, try hard mounting /home and see if you can
get to the users home dir. (shut off autofs when you do this). get back to
me on this one and I'll take a look from there.

Kurt 


-----Original Message-----
From: Shoshana Rosenthal [mailto:shoshana@cfa.harvard.edu]
Sent: Friday, July 27, 2001 11:30 AM
To: axp-list@redhat.com
Cc: shoshana@cfa.harvard.edu
Subject: ypbind(nis) problems



Hi,

I am trying to serve an nis data base residing on a  Compaq tru64 machine
to my linux machines. I have setup one machine successfully, the same
setup on
another machine doesn't work. Both machines run RedHat 7.1 . Following is
some information to illustrate the setup and the problem.


-------------------------------

[root@rglinux2 ~]# ypcat -k passwd | grep reid
reid reid:xxx:662:20:Mark Reid,RG:/home/reid:/usr/local/bin/tcsh
---
[root@rglinux2 ~]# ypcat -k auto.home | grep reid
reid -rw,soft alpmjr:/u1/&
--
[root@rglinux2 ~]# ypcat -k auto.master
/home auto.home -rw,nosuid,hard,intr
/net -hosts     -rw,soft,intr,nosuid
/- auto.sys     -ro,soft,intr,nosuid
----
[root@rglinux2 ~]# su - reid
su: user reid does not exist

This is the problem, why is user reid not found?

-------

Also when I cd to /home/reid the directory exists, but when typing 
'ls -l' instead of user name the uid appears.

I will appreciate any suggestions.

Shoshana

srosenthal@cfa.harvard.edu




_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list




^ permalink raw reply	[flat|nested] 4+ messages in thread

* ypbind(nis) problems
@ 2001-07-27 15:30 Shoshana Rosenthal
  2001-07-27 15:40 ` Helge Kreutzmann
  0 siblings, 1 reply; 4+ messages in thread
From: Shoshana Rosenthal @ 2001-07-27 15:30 UTC (permalink / raw)
  To: axp-list; +Cc: shoshana

Hi,

I am trying to serve an nis data base residing on a  Compaq tru64 machine
to my linux machines. I have setup one machine successfully, the same
setup on
another machine doesn't work. Both machines run RedHat 7.1 . Following is
some information to illustrate the setup and the problem.


-------------------------------

[root@rglinux2 ~]# ypcat -k passwd | grep reid
reid reid:xxx:662:20:Mark Reid,RG:/home/reid:/usr/local/bin/tcsh
---
[root@rglinux2 ~]# ypcat -k auto.home | grep reid
reid -rw,soft alpmjr:/u1/&
--
[root@rglinux2 ~]# ypcat -k auto.master
/home auto.home -rw,nosuid,hard,intr
/net -hosts     -rw,soft,intr,nosuid
/- auto.sys     -ro,soft,intr,nosuid
----
[root@rglinux2 ~]# su - reid
su: user reid does not exist

This is the problem, why is user reid not found?

-------

Also when I cd to /home/reid the directory exists, but when typing 
'ls -l' instead of user name the uid appears.

I will appreciate any suggestions.

Shoshana

srosenthal@cfa.harvard.edu





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ypbind(nis) problems
  2001-07-27 15:30 ypbind(nis) problems Shoshana Rosenthal
@ 2001-07-27 15:40 ` Helge Kreutzmann
  0 siblings, 0 replies; 4+ messages in thread
From: Helge Kreutzmann @ 2001-07-27 15:40 UTC (permalink / raw)
  To: axp-list

[-- Attachment #1: Type: text/plain, Size: 1128 bytes --]

Hello !
On Fri, Jul 27, 2001 at 11:30:18AM -0400, Shoshana Rosenthal wrote:
> -------------------------------
> 
> [root@rglinux2 ~]# ypcat -k passwd | grep reid
> reid reid:xxx:662:20:Mark Reid,RG:/home/reid:/usr/local/bin/tcsh
> ---
> [root@rglinux2 ~]# ypcat -k auto.home | grep reid
> reid -rw,soft alpmjr:/u1/&
> --
> [root@rglinux2 ~]# ypcat -k auto.master
> /home auto.home -rw,nosuid,hard,intr
> /net -hosts     -rw,soft,intr,nosuid
> /- auto.sys     -ro,soft,intr,nosuid
> ----
> [root@rglinux2 ~]# su - reid
> su: user reid does not exist
> 
> This is the problem, why is user reid not found?

What does your /etc/nsswitch.conf say ? It should contain lines like
passwd:         files nis
group:          files nis
shadow:         files nis

so nis is actually used.

Regards

       Helge
-- 
Helge Kreutzmann, Dipl.-Phys.                      kreutzm@itp.uni-hannover.de
         For gpg-key: finger kreutzm@rigel.itp.uni-hannover.de
    64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
       Help keep free software "libre": http://www.freepatents.org/

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: ypbind(nis) problems
  2001-07-27 15:24 Kurt Ludwig
@ 2001-07-27 15:51 ` Shoshana Rosenthal
  0 siblings, 0 replies; 4+ messages in thread
From: Shoshana Rosenthal @ 2001-07-27 15:51 UTC (permalink / raw)
  To: 'axp-list@redhat.com'



Thanks for all the quick responses. I changed the /etc/nsswitch.conf file
to read 
passwd:		files nis	
instead of
passwd:		files nisplus

This was the fix. 
Thanks again

shoshana



On Fri, 27
Jul 2001, Kurt Ludwig wrote:

> ok... ypbind is running...
> 
> take a look at your /etc/nsswitch.conf file and make sure there's a lines
> that look similar to this.
> that should fix the authentication problems you are seeing. If not, let me
> know.
> 
> passwd:	files nis
> group:	files nis
> 
> as far as the automounting goes, try hard mounting /home and see if you can
> get to the users home dir. (shut off autofs when you do this). get back to
> me on this one and I'll take a look from there.
> 
> Kurt 
> 
> 
> -----Original Message-----
> From: Shoshana Rosenthal [mailto:shoshana@cfa.harvard.edu]
> Sent: Friday, July 27, 2001 11:30 AM
> To: axp-list@redhat.com
> Cc: shoshana@cfa.harvard.edu
> Subject: ypbind(nis) problems
> 
> 
> 
> Hi,
> 
> I am trying to serve an nis data base residing on a  Compaq tru64 machine
> to my linux machines. I have setup one machine successfully, the same
> setup on
> another machine doesn't work. Both machines run RedHat 7.1 . Following is
> some information to illustrate the setup and the problem.
> 
> 
> -------------------------------
> 
> [root@rglinux2 ~]# ypcat -k passwd | grep reid
> reid reid:xxx:662:20:Mark Reid,RG:/home/reid:/usr/local/bin/tcsh
> ---
> [root@rglinux2 ~]# ypcat -k auto.home | grep reid
> reid -rw,soft alpmjr:/u1/&
> --
> [root@rglinux2 ~]# ypcat -k auto.master
> /home auto.home -rw,nosuid,hard,intr
> /net -hosts     -rw,soft,intr,nosuid
> /- auto.sys     -ro,soft,intr,nosuid
> ----
> [root@rglinux2 ~]# su - reid
> su: user reid does not exist
> 
> This is the problem, why is user reid not found?
> 
> -------
> 
> Also when I cd to /home/reid the directory exists, but when typing 
> 'ls -l' instead of user name the uid appears.
> 
> I will appreciate any suggestions.
> 
> Shoshana
> 
> srosenthal@cfa.harvard.edu
> 
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
> 




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-07-27 15:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-27 15:30 ypbind(nis) problems Shoshana Rosenthal
2001-07-27 15:40 ` Helge Kreutzmann
  -- strict thread matches above, loose matches on Subject: below --
2001-07-27 15:24 Kurt Ludwig
2001-07-27 15:51 ` Shoshana Rosenthal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox