home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / ultrix / 6770 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.6 KB

  1. Path: sparky!uunet!sun-barr!ames!agate!agate!robm
  2. From: robm@ataraxia.Berkeley.EDU (Rob McNicholas)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Re: :permission denied?
  5. Date: 8 Sep 92 12:12:25
  6. Organization: Technical and Computing Services, U.C. Berkeley, Berkeley, CA
  7. Lines: 27
  8. Message-ID: <ROBM.92Sep8121225@ataraxia.Berkeley.EDU>
  9. References: <1992Sep3.073220.1@vax.sonoma.edu> <1992Sep3.151848.23143@decuac.dec.com>
  10.     <1354@niktow.canisius.edu>
  11. NNTP-Posting-Host: ataraxia.berkeley.edu
  12. In-reply-to: pavlov@niktow.canisius.edu's message of 8 Sep 92 03:13:22 GMT
  13.  
  14. In article <1354@niktow.canisius.edu> pavlov@niktow.canisius.edu (Greg Pavlov) writes:
  15.      We encounter something similar using su (legitimately...).  The
  16.      command does what it is supposed to, but we typically get the
  17.      following message: 
  18.  
  19.        /dev/ttyp2: permission denied
  20.  
  21.  
  22.  
  23. When you rlogin to a system, you become the owner of the pty you've
  24. connected through.  If you su to someone who doesn't have permission
  25. to write to your pty (usually anyone other than root), and they have
  26. some line in their .cshrc file which is attempting to modify the pty
  27. (for example, an stty, biff, or mesg command), that command will fail
  28. with the "permission denied" message.
  29.  
  30. "su -f user" should avoid this.
  31.  
  32. Another thing to watch out for is su'ing to someone who doesn't have
  33. search permission to the current directory.  Then you get
  34. "getwd: Permission denied -- can't start new shell"
  35.  
  36. -Rob
  37.  
  38. --
  39. Rob McNicholas             Technical & Computing Services, EECS, U.C. Berkeley
  40. robm@ataraxia.berkeley.edu  Voice: 510/642-8633  FAX: 510/643-7846
  41.