Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Dr. Andreas S. Tomiak <tomiak@hmi.de>
Subject: Re: Length of UID and GID in Alpha-Linux
Date: Thu, 12 Feb 1998 10:24:03 +0100	[thread overview]
Message-ID: <980212102403.ZM26453@dixtat.hmi.de> (raw)
In-Reply-To: <stefan@sime.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]

Hi Folks,

I´ve no problem to use unsigned numbers for UIDs and GIDs because we enforce a
uniform name space in our whole net. SuSE is using -2, but also the UCX NFS
server under VMS uses this sort of Nobody UID. The best is to use UIDs/GIDs in
the range from 0 to 32767 only. In my opinion 99/99 for nobody/nogroup is not
the best:
I´ve created as root on a Solaris 2.6 machine a file on a non-root exported
filesystem from a RedHat-Linux Alpha. Root squashing occurs and I´ve read:

#touch xxx
# ls -l
total 4
drwxrwxrwx   2 dat      hmiduser    1024 Feb 12  1998 .
drwxr-xr-x   3 dat      hmiduser    1024 Feb 12  1998 ..
-rw-r--r--   1 99       other          0 Feb 12 09:04 xxx
#

In /etc/group on the Sun:

other::1:
nogroup::65534:

On the Alpha directly:

dat@dalph1.hmi.de-116>ls -l /chmi/dalph1/hmiduser/dat/nfstest/
total 0
-rw-r--r--   1 nobody   bin             0 Feb 12 09:04 xxx

On a SuSE 5.1 system over NFS:

dat@dixtat-78>ls -l /chmi/dalph1/hmiduser/dat/nfstest/
total 0
-rw-r--r--   1 99       bin             0 Feb 12 09:04 xxx
dat@dixtat-79>

Very confusing.

The NFS server will use a name (nobody) but not a number for root_squashing,
but uses numbers only over the net. Using the number 65534 for nobody would be
the best here, I think.

Andreas

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1998-02-12  9:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <stefan@sime.com>
1998-02-12  9:24 ` Dr. Andreas S. Tomiak [this message]
     [not found] <980211154552.ZM17254@dixtat.hmi.de>
1998-02-11 19:39 ` Length of UID and GID in Alpha-Linux Richard Henderson
1998-02-11 19:38 Stefan Traby
  -- strict thread matches above, loose matches on Subject: below --
1998-02-11 14:45 Dr. Andreas S. Tomiak
read-only archive

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