home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / coherent / 6886 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.6 KB

  1. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!cleveland.Freenet.Edu!aj651
  2. From: aj651@cleveland.Freenet.Edu (Bob James)
  3. Newsgroups: comp.os.coherent
  4. Subject: Re: Not enough permissions for root?
  5. Date: 21 Jan 1993 21:27:26 GMT
  6. Organization: Case Western Reserve University, Cleveland, OH (USA)
  7. Lines: 27
  8. Message-ID: <1jn4fuINNd8q@usenet.INS.CWRU.Edu>
  9. References: <9301191709.25@phzzzt.uucp> <1993Jan11.171350.7446@netcom.com>
  10. Reply-To: aj651@cleveland.Freenet.Edu (Bob James)
  11. NNTP-Posting-Host: slc10.ins.cwru.edu
  12.  
  13.  
  14. In a previous article, mfaurot@phzzzt.uucp (Michael Faurot) says:
  15.  
  16. >messina@netcom.com (Tony Porczyk) writes:
  17. >: 
  18. >: I may be confused, but shouldn't 'root' be able to read and see
  19. >: ALL files on the system (outside of crypted ones, of course)? 
  20. >: Well, when I go into the directory /usr/man/COHERENT my ls
  21. >: aborts and says I don't have permissions as root to see any
  22. >: files.  When I execute ls from above (usr/man) into that
  23. >: directory, it works just fine.  Anyone has an explanation for
  24. >: that?  (Yes, I know user bin will work fine).
  25. >
  26. >What's happening is that when you type "ls" from within the directory 
  27. >/usr/man/COHERENT the man page file "ls" is being found before the
  28. >binary /bin/ls.  If you type /bin/ls from within there this will work
  29. >instead.  The same thing will happen if you attempt to change root's
  30. >password when logged to the /etc directory and try to run the "passwd"
  31. >program.
  32.  
  33. moral always set current directory LAST in yer PATH
  34. eg: /bin:/usr/bin:
  35.                  ^{this is an empty field}
  36.  
  37. -- 
  38. It was the best of times, it was the worst of times.  Bob James (aj651)
  39.  
  40.