NFS + NIS madness
Hetz Ben Hamo
hetzbh at gmail.com
Sun Dec 4 18:36:59 IST 2011
Well, at the end, the whole part of the "I have no name" seems related to
the prompt.
Which leaves me with a single problem:
As logged in (NIS/YP) user, I see the GID as 500. As root, the same NFS
mount shows GID as normal.
Thanks,
Hetz
On Tue, Nov 29, 2011 at 8:53 AM, Yedidyah Bar-David <
linux-il at didi.bardavid.org> wrote:
> On Mon, Nov 28, 2011 at 11:35:33PM +0200, Hetz Ben Hamo wrote:
> > Hi,
> > As you can see, all of them (from root) works perfectly:
> >
> > [root at client ~]# ypcat passwd.byuid
> >
> vic:$6$FcNMjbbl$8wGzWhtEK9P0.WdoqE78xI9VDzmaH1wTF.2vax9VERW3uiqhytNjXXzVccCjnWRxV7ApHL.JibC0Ar4spM6In1:500:500:Vicky
> > the kitten!:/home/vic:/bin/bash
> > [root at client ~]# ypmatch 500 passwd.byuid
> >
> vic:$6$FcNMjbbl$8wGzWhtEK9P0.WdoqE78xI9VDzmaH1wTF.2vax9VERW3uiqhytNjXXzVccCjnWRxV7ApHL.JibC0Ar4spM6In1:500:500:Vicky
> > the kitten!:/home/vic:/bin/bash
> > [root at client ~]# getent passwd 500
> >
> vic:$6$FcNMjbbl$8wGzWhtEK9P0.WdoqE78xI9VDzmaH1wTF.2vax9VERW3uiqhytNjXXzVccCjnWRxV7ApHL.JibC0Ar4spM6In1:500:500:Vicky
> > the kitten!:/home/vic:/bin/bash
> >
> > only when I do su - vic or login as vic, then it happens..
>
> Can you try these as vic?
>
> It's been some time since I last debugged NIS, but IIRC there are
> mechanisms that try to prevent normal users from seeing some stuff,
> e.g. shadow passwords. Obviously you did not use shadow passwords,
> judging from the above. Perhaps the server replies to these only from
> low ports or something like that, don't remember.
>
> You can try to run the server with debugging/verbose/whatever and see
> if there is anything in its logs.
> --
> Didi
>
>
--
*חץ בן חמו
חץ-ביז
*השכרה ואירוח של שרתים פיזיים
מעוניין להשתמש בשרותים שחסומים לגולש הישראלי? Hulu? NetFlix? Pandora?
Google Voice? אם כן, היכנס לכאן <http://vps.net.bz/?p=406>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20111204/2c2aa792/attachment-0001.html>
More information about the Linux-il
mailing list