home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sun / admin / 10709 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.9 KB

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