Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2000 10:45:35 -0700 (PDT)
From:      graham@insinc.ca
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/18516: getpwuid(0) fails when root account is in NIS
Message-ID:  <20000512174535.B784237B5DE@hub.freebsd.org>

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

>Number:         18516
>Category:       kern
>Synopsis:       getpwuid(0) fails when root account is in NIS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 12 10:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Graham Gillies
>Release:        3.1, 3.4, 4.0
>Organization:
INSINC
>Environment:
FreeBSD graham2.staff.dowco.com 3.4-RELEASE FreeBSD 3.4-RELEASE #12: Fri May  5 10:58:06 PDT 2000     root@graham2.staff.dowco.com:/usr/src/sys/compile/GRAHAM  i386

>Description:
When NIS is enabled and the root account is in NIS or any part of
it is in NIS, like +root whatever, calls to getpwuid(0) fail
>How-To-Repeat:
set up a machine as an NIS client
$ su -
# id
uid=0 gid=0(wheel)...
   +++ what happened to the username?
# su - someone
su: who are you?
>Fix:
unknown, workaround was to use another uid 0 account to access root
and leave a locked root account in the passwd files

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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