Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!rutgers!att!emory!gatech!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!ruuinf!prisma!fred From: fred@prisma.cv.ruu.nl (Fred Appelman) Newsgroups: comp.sys.hp Subject: Re: HP9000s425t How can I modify NFS kernel Message-ID: Date: 6 Dec 90 15:36:45 GMT References: <1990Dec4.185735.9667@polyof.poly.edu> <4310147@hpindda.cup.hp.com> Organization: University of Utrecht, 3D Computer Vision The Netherlands Lines: 45 In <4310147@hpindda.cup.hp.com> ananth@hpindda.cup.hp.com (AP Anantharaman) writes: >ID to (ID=-2). Is there way to modify HP unix kernel? >So, root on client can create and modify directory as root. I myself use the following shellscript: #! /bin/sh # # PATCH THE KERNEL ON DISK OR IN MEMORY # if [ $# != 1 ] then echo 'Usage: PATCH_KERNEL [MEMORY|DISK|BOTH]' exit fi case $1 in MEMORY) adb -w /hp-ux /dev/kmem << EOFMEM nobody/W0 EOFMEM ;; DISK) adb -w /hp-ux << EOFDISK nobody?W0 EOFDISK ;; BOTH) adb -w /hp-ux /dev/kmem << EOFBOTH nobody?W0 nobody/W0 EOFBOTH ;; *) echo 'Usage: PATCH_KERNEL [MEMORY|DISK|BOTH]' ;; esac -- Fred J.R. Appelman, 3D Computer Vision, Utrecht University AZU, Heidelberglaan 100, 3584 CX Utrecht, The Netherlands. Telephone: +31-30-506710 Fax: +31-30-513399 e-mail: fred@cv.ruu.nl or appelman@cs.unc.edu