home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / ultrix / 6412 < prev    next >
Encoding:
Text File  |  1992-08-22  |  1.8 KB  |  45 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!haven.umd.edu!decuac!hussar.dco.dec.com!mjr
  3. From: mjr@hussar.dco.dec.com (Marcus J. Ranum)
  4. Subject: Re: Decstation Ultrix single-user mode security hole.
  5. Message-ID: <1992Aug22.185046.4512@decuac.dec.com>
  6. Keywords: DecStation, Ultrix, Security Hole, Help
  7. Sender: news@decuac.dec.com (USENET News System)
  8. Nntp-Posting-Host: hussar.dco.dec.com
  9. Organization: Digital Equipment Corporation, Washington ULTRIX Resource Center
  10. References: <ZAPHOD.92Aug22032228@splinter.coe.northeastern.edu>
  11. Distribution: comp
  12. Date: Sat, 22 Aug 1992 18:50:46 GMT
  13. Lines: 30
  14.  
  15. >    On Decstations running Ultrix 4.1-4.2a is there any way to
  16. >make it so that users can't just hit ^C during the multiuser boot
  17. >process to break into single-user mode?  (and thus get access as root
  18. >on the machine).
  19.  
  20.     Note that there *are* occasions when you want to be able to
  21. interrupt autoboot. ;)
  22.  
  23.     One option might be to get a version of init and whack
  24. its interrupt handlers. I used to have a customized version that would
  25. call "/bin/su" instead of "/bin/sh" if a single user shell was requested.
  26. This relies on having a version of "su" that does the right thing if
  27. your password file is hosed. I tried putting "trap" statements in /etc/rc
  28. on my workstation here at home (which doesn't run ULTRIX so I can't say
  29. if it works on ULTRIX) but it didn't work, which kind of surprises
  30. me.
  31.  
  32.     I don't see sources to init in the net2 tapes, but the 386BSD
  33. kit appears to have one. Unfortunately, I don't know of an FTP server
  34. that keeps an unpacked 386BSD source distribution, or playing with it
  35. might be amusing. Init's a mostly trivial program.
  36.  
  37.     Without physical security, you're always going to have a
  38. problem. Anyone who thinks otherwise is in a state of sin. Someone
  39. can very easily walk up to a machine and boot off an external SCSI
  40. disk, for example...
  41.  
  42. mjr.
  43.  
  44.  
  45.