From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10952f,349923eeb1e731ba X-Google-Attributes: gid10952f,public X-Google-Thread: 10b612,349923eeb1e731ba X-Google-Attributes: gid10b612,public X-Google-Thread: f678f,349923eeb1e731ba X-Google-Attributes: gidf678f,public From: rjn@pobox.com (Fidelio) Subject: Re: Digital Unix & Ultrix default unknown userids to zero Date: 1996/04/19 Message-ID: <4l7kcf$7es@hp01.redwood.nl>#1/1 X-Deja-AN: 148362145 sender: rob@redwood.nl references: <4l2ntt$47h@mozo.cc.purdue.edu> organization: Redwood Nederland B.V. newsgroups: comp.security.unix,comp.unix.ultrix,comp.unix.osf.misc jester@expert.cc.purdue.edu (Jester) writes: >In setting up the chriscj account, I had accidently left the + off of a >NIS mapped login. >chriscj:::::/nfs/h8r2/users/chriscj:/bin/ksh >One would think that the default UID/GID pair would default to >65534:65534 which is the Digital default to nobody, and deny the >login, but it doesn't appear to be the case. Well a missing value would be 0, although I think several UNIXes refuse something like 'toor:::::/:' as a minimal passwd entry, it needs to be 'toor::0:0::/:' for some. The concept of the passwd file is almost as old as UNIX, from the 70's while UID 65534 was introduced by SUN for use by NFS/RPC in the mid 80's. Handling UID's is a much lower level than RPC, which is a user protocol, so it would be unlikely that you want your kernel to have any knowledge of a special case for UID 65534. Rob -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Rob J. Nauta Linux: putting power in the wrong hands rjn@pobox.com