home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / sun / admin / 8108 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1.7 KB  |  49 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!munnari.oz.au!uniwa!bilby.cs.uwa.oz.au!dunnart!janet
  3. From: janet@cs.uwa.oz.au (Janet Jackson)
  4. Subject: A bug in init? (booting single-user)
  5. Message-ID: <janet.721386869@dunnart>
  6. Summary: Pressing Return at Password: prompt gets you multi-user startup!
  7. Sender: usenet@bilby.cs.uwa.edu.au
  8. Nntp-Posting-Host: dunnart
  9. Organization: Dept. Computer Science, University of Western Australia.
  10. Date: Tue, 10 Nov 1992 09:14:29 GMT
  11. Lines: 36
  12.  
  13. The environment:  SPARCstation or Sun-4 running SunOS4.1.1.  Various kernel
  14. and other patches.  init has not been patched.
  15.  
  16. What I think may be a bug manifests itself when the system is trying
  17. to boot single-user and is prompting for the root password.
  18.  
  19. If I type the root password, it runs a single-user shell, as it should.
  20. If I type some rubbish, it repeats the prompt, as it should.
  21. But if I just press Return, it does a multi-user startup!
  22.  
  23. This happens whether it is booting single-user because I asked it to,
  24. or because fsck has failed.
  25.  
  26. It happens whether it is prompting for the root password because the console
  27. is not marked "secure" in /etc/ttytab, or because issecure() returns true
  28. (the latter happens because the system is running Sun password shadowing).
  29.  
  30. It happens on my systems, and on a colleague's downstairs.
  31.  
  32. Does anyone know:
  33.  
  34. Is this a bug?  In init?  Has it been reported to Sun?
  35. Is it fixed in 4.1.2? .3? Solaris?
  36.  
  37. If it isn't a bug, what's the explanation?
  38.  
  39. Is there any way to prevent this behaviour?
  40.  
  41. (I found out about this when fsck failed, and a user thought it wouldn't
  42. hurt to press Return.  The system didn't stay up for long.  Sigh.)
  43.  
  44. Janet Jackson
  45. <janet@cs.uwa.edu.au>
  46. Systems Administrator
  47. Department of Computer Science
  48. The University of Western Australia
  49.