[comp.sys.sun] magic limits on -root= option in /etc/exports

ekrell@ulysses.att.com (Eduardo Krell) (07/25/89)

This applies to SunOS 4.0.3

I just found out that there's a magic limit of 10 hosts in the "root="
option in /etc/exports (this lists the hosts to which root access is
granted). According to the man page for exports(5), you have to list the
host names (you can't use netgroups, for instance).

It's bad enough that one has to list all the hosts, but 10 is an arbitrary
(and too small) limit. How do sites with lots of Suns deal with this? Is
there a workaround?

Eduardo Krell                   AT&T Bell Laboratories, Murray Hill, NJ

UUCP: {att,decvax,ucbvax}!ulysses!ekrell  Internet: ekrell@ulysses.att.com

poffen@sj.ate.slb.com (Russ Poffenberger) (08/15/89)

In article <378@brazos.Rice.edu> ekrell@ulysses.att.com (Eduardo Krell) writes:
>X-Sun-Spots-Digest: Volume 8, Issue 84, message 11 of 13
>
>This applies to SunOS 4.0.3
>
>I just found out that there's a magic limit of 10 hosts in the "root="
>option in /etc/exports (this lists the hosts to which root access is
>granted). According to the man page for exports(5), you have to list the
>host names (you can't use netgroups, for instance).
>
>It's bad enough that one has to list all the hosts, but 10 is an arbitrary
>(and too small) limit. How do sites with lots of Suns deal with this? Is
>there a workaround?
>


Each diskless client should have its own root and swap partition. On your
server, create one or more disk partitions large enough to hold all of the
roots your clients need. It should be /export/roots.  Now in this
partition, create subdirectories for each client, usually naming the
subdir the name the client machine.  Now you export each subdirectory with
a seperate line in your exports file.

If you need more detail, email me.

Russ Poffenberger
Schlumberger Technologies
poffen@sj.ate.slb.com

perl@uunet.uu.net (Robert Perlberg) (09/09/89)

In article <988@brazos.Rice.edu>, poffen@sj.ate.slb.com (Russ Poffenberger) writes:
> 
> In article <378@brazos.Rice.edu> ekrell@ulysses.att.com (Eduardo Krell) writes:
> >X-Sun-Spots-Digest: Volume 8, Issue 84, message 11 of 13
> >
> >This applies to SunOS 4.0.3
> >
> >I just found out that there's a magic limit of 10 hosts in the "root="
> >option in /etc/exports (this lists the hosts to which root access is
> >granted).
> 
> 
> Each diskless client should have its own root and swap partition.

This totally misses the point.  The -root= option is for more than just
accessing the root partition.  It allows the superuser on one machine
to have write access to all of the files on all of another machine's
file systems.

This is distressing news since we are on the verge of getting some more
workstations which will put us over the 10 machine limit and break a
lot of our code.  HELP!

Does the old "change nobody to 0" kernel patch still work?

Robert Perlberg
Dean Witter Reynolds Inc., New York
phri!{dasys1 | philabs | mancol}!step!perl
	-- "I am not a language ... I am a free man!"