[comp.sys.sun] NFS maps root to nobody

hjp@uunet.uu.net (Howard J. Postley) (01/03/89)

I know that this has been asked and concluded long ago but I forgot the
answer and where to look for it.

By default, NFS maps root uid (0) to nobody (-2).  This is inconvienent
for our site.

My question is:  how do I change this mapping?  I couldn't find the kernal
include file to change because I don't know what the parameter is called.

Thanks in advance,
//Howard

P.S.	Sun 3/50, SunOS 3.4
-- 
Howard Postley      usenet:  uunet!bambam!hjp        
On Word             phone:   +1 213 399 7733
                    snail:   2434 Main St; Santa Monica, CA  90405

keith@esosun.css.gov (Keith Pilotti) (01/14/89)

There is no include file.  You need to patch the object file
"OBJ/nfs_server.o" variable "nobody" to the value zero using adb, then
rebuild your kernel.  You may also patch "nobody" in an existing kernel or
even the running memory image.

If you need more information, see the networking security manual or
contact me for instructions.  Note that this information is for SunOS 3.x
or prior.  I do not know if 4.0 systems behave the same.

Good luck...
+Keith Pilotti
--
Science Applications International Corporation
10260 Campus Point Drive, M/S-32, San Diego, CA 92121

(619)546-6657    {sun!suntan,seismo!esosun}!sol!keith
                 Pilotti@UCSD.edu

mcneill@uunet.uu.net (Keith McNeill) (01/18/89)

bambam!dino!hjp@uunet.uu.net (Howard J. Postley):
> By default, NFS maps root uid (0) to nobody (-2).  This is inconvienent
> for our site.
> My question is:  how do I change this mapping?...

Change the kernel var "nobody" to 0.  The directions on how to do this are
in the Network administration guide (right around the section on how to
increase network security).

    Keith D. McNeill              |    E.I. du Pont de Nemours & Co.
    eplrx7!mcneill@uunet.uu.net   |    Engineering Physics Laboratory
    (302) 695-7395                |    P.O. Box 80357
                                  |    Wilmington, Delaware 19880-0357