home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!sersun1!serv7.essex.ac.uk!peter
- From: peter@serv7.essex.ac.uk (Peter Allott)
- Newsgroups: comp.sys.sun.admin
- Subject: NFS odd behaviour
- Message-ID: <7648@sersun1.essex.ac.uk>
- Date: 22 Jan 93 15:35:51 GMT
- Sender: news@sersun1.essex.ac.uk
- Reply-To: peter@serv7.essex.ac.uk (Peter Allott)
- Organization: University of Essex, Colchester, UK
- Lines: 48
-
- I we have a number of DECstation 5000 machine as file servers to some
- of our SUN workstations. The DECstations do not trust root on our SUNs
- [They cannot just trust root from specified machines and allow acces
- but not trust root on others - this is a moan about DEC and not part
- of this news group.]
-
- The following is a log of a session from a Sparcstation with SUNOS 4.1.2
- [I do not think the rev of SUNOS is important]
-
- sersun7-41-% su
- Password:
- sersun7# cat cows
- cat: write error: Permission denied - (1)
- sersun7# who am i
- sersun7!peter ttyp5 Jan 22 15:16 (solb1)
- sersun7# whoami
- root
- sersun7# exit
- sersun7# sersun7-42-% cat cows
- cat: write error: Permission denied - (2)
- sersun7-43-% ls -l cows
- -rw------- 1 peter 31313 Jun 29 1992 cows
- sersun7-44-% df .
- Filesystem kbytes used avail capacity Mounted on
- serv0:/ufs/serv0a 945726 394236 456918 46% /ufs/serv0a
- sersun7-45-% cat fred - (3)
- this is a dummy file
- sersun7-46-% su
- Password:
- sersun7# cat fred - (4)
- this is a dummy file
- sersun7# ls -l fred
- -rw------- 1 peter 21 Jan 22 14:55 fred
- sersun7#
-
- (1) As root I try to access a file on a NFS structure on a machine
- that does not trust root (It is DEC machine).
- Permission denied is correct.
-
- (2) I stop being root.
- I find that I cannot access the file even though I own it.
-
- (3) I try to read another file as me
- This reads OK
-
- (4) I go back to being root
- I can still read the second file. But the remote machine should
- not trust root on the Sun to access my file.
-