home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / admin / 6685 < prev    next >
Encoding:
Internet Message Format  |  1992-12-17  |  1.2 KB

  1. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!think.com!barmar
  2. From: barmar@think.com (Barry Margolin)
  3. Newsgroups: comp.unix.admin
  4. Subject: Re: mysterious permission mode change
  5. Date: 17 Dec 1992 05:04:23 GMT
  6. Organization: Thinking Machines Corporation, Cambridge MA, USA
  7. Lines: 16
  8. Message-ID: <1gp1onINNi3b@early-bird.think.com>
  9. References: <9212150931.aa11896@q2.ics.uci.edu>
  10. NNTP-Posting-Host: gandalf.think.com
  11.  
  12. In article <9212150931.aa11896@q2.ics.uci.edu> ahalim@ics.uci.edu writes:
  13. >I have noticed that after changing the permission bits for a char device
  14. >[like /dev/ttyb] to 666 from 600, the systems will turn the mode back
  15. >to 600 automatically. This is quite strange and annoying.
  16. >Is this somekind of security feature of SunOS (4.1.2) or something else?
  17.  
  18. When a tty device is closed, its owner is set back to root, its permissions
  19. are restored to this default, and the terminal modes are set to the
  20. default.  This is so that changes made by one user (e.g. when using the
  21. mesg(1) or stty(1) commands) don't affect the next user to login on that
  22. port.
  23. -- 
  24. Barry Margolin
  25. System Manager, Thinking Machines Corp.
  26.  
  27. barmar@think.com          {uunet,harvard}!think!barmar
  28.