Re: [OFF TOPIC] : setuid() on nfs mounted root file system.

ADAM Sulmicki (
Mon, 15 Dec 1997 14:08:23 -0500 (EST)

->> I'm trying to boot "diskless" machine, it boots successfully, so it
->> obviously has nfs mounted root files system ("/"). I can login as rot and
->> do anything without any problems. However for some odd reasons after I set
->> different uid I can't do anything else. It is based on RH 4.2 w/ shadows
->> and PAM.
->> As I said everthing works fine as long as it is root, but as soon as I try
->> change uid/gid ther are problem, here are some examples.
->man 5 exports
->the no_root_squash option on the server

but as I did quoted, it DOES have that option..

[parts of /etc/exports on nfs server]
/usr (ro,no_root_squash)
/tftpboot.sf sf.some.domain(rw,no_root_squash)

so I don't think it is this.. beside that I can create root owned files
.. it is what root_squash prevent from..

but I think you are right, it is somehow reated to nfs, but how?