Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!psuvax1!julius.cs.uiuc.edu!rpi!batcomputer!christos From: christos@batcomputer.tn.cornell.edu (Christos S. Zoulas) Newsgroups: comp.sys.hp Subject: Re: Root across NFS on HP9000/300 and HP9000/840... Message-ID: <1990Nov16.230024.24195@batcomputer.tn.cornell.edu> Date: 16 Nov 90 23:00:24 GMT References: <11253@milton.u.washington.edu> Distribution: usa Organization: Electrical Engineering, Cornell University, Ithaca NY Lines: 34 No flames please! Yes I don't like writting into kmem but, I have to share my sources subdirectory! enjoy. christos #! /bin/sh # # rootaccess - enable/disable root access for nfs clients # KERNEL="/hp-ux" MEMORY="/dev/kmem" NOBODY="_nobody" # case "$1" in on|yes|enable|allow) ANONUID="0x00000000";; off|no|disable|deny) ANONUID="0xfffffffe";; *) echo "usage: rootaccess [on|off]" 1>&2; exit 1 esac # (echo "$NOBODY/W $ANONUID"; echo '$q') | \ adb -w $KERNEL $MEMORY # exit 0 -- /------------------------------------------------------------------------\ | Christos Zoulas | 389 Theory Center, Electrical Engineering, | | christos@ee.cornell.edu | Cornell University, Ithaca NY 14853. | | christos@crnlee | Phone: Disconnected | Fax: (607) 254 4565 |