home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / 3b1 / 4419 < prev    next >
Encoding:
Text File  |  1993-01-28  |  2.6 KB  |  57 lines

  1. Newsgroups: comp.sys.3b1
  2. Path: sparky!uunet!ceilidh!dnichols
  3. From: dnichols@d-and-d.com (DoN. Nichols)
  4. Subject: Re: Shutdown problems
  5. Message-ID: <1993Jan27.034952.4141@d-and-d.com>
  6. Keywords: pascal compiler
  7. Sender: usenet@d-and-d.com (Usenet)
  8. Nntp-Posting-Host: shindig
  9. Organization: D and D Data, Vienna VA
  10. References: <1jp8dqINN5t0@jhunix.hcf.jhu.edu> <1993Jan24.203146.6959@ultb.isc.rit.edu> <1993Jan24.205045.7310@ultb.isc.rit.edu>
  11. Date: Wed, 27 Jan 1993 03:49:52 GMT
  12. Lines: 43
  13.  
  14. In article <1993Jan24.205045.7310@ultb.isc.rit.edu> nmw1638@ultb.isc.rit.edu (N.M. Williams) writes:
  15. >Ok, I have a small problem that I can live with but would like to fix:
  16. >yesterday I tried to shutdown my 3b1, but instead of getting the typical
  17. >"YOU MAY NOW SWITCH THE POWER OFF" (or whatever it is it says) init
  18. >prompted me for a run-level to enter. It wouldn't go into single user,
  19. >(it flashed something like "No shell"), and since I didn't have any
  20.  
  21.     [ ... ]
  22.  
  23. >Like I said, I can live with this since it seems safe to shut off my 3b1
  24. >at the run-level prompt, but it is annoying. Any ideas on what could be
  25. >wrong? Also how can I go into single-user mode from that prompt? (What
  26. >inittab entry do I need? I though ' ssh:s:respawn:sh </dev/console
  27. >>/dev/console' might do, but I don't have the man page for sh at hand).
  28.  
  29.     Have you changed the default shell for root?  If it is not /bin/sh
  30. various strange things happen, including problems with things run from
  31. crontab.  If you have the *best* version of ksh - *not* the one that comes
  32. with 3.51, *not* the upgraded version from 3.51m, but the one from the "THE
  33. STORE" section of the archives, you can get away with renaming /bin/sh to
  34. /bin/bourne-shell or something like that, and then "ln /bin/ksh /bin/sh".
  35.  
  36.     Since that version of ksh is mostly a proper superset of /bin/sh,
  37. most things work, but certain cleanup scripts are a danger.  I don't
  38. remember whether it is one of the uucp scripts, or the general system
  39. cleanup script, but it can fail in a *very* undesireable way.  I believe
  40. that it was Thad Florian who posted about this problem about a year ago.
  41.  
  42.     It is generally safer to have an alternate root account that runs
  43. the shell of your choice, but have the one named 'root' *first*, and with
  44. /bin/sh as its shell.
  45.  
  46.     If you *are* using /bin/sh as the root shell, then it is back to the
  47. guessing game, unless someone else turns up useful information.
  48.  
  49.     Good Luck
  50.         DoN.
  51.  
  52. -- 
  53.  Email:   <dnichols@d-and-d.com>  |  ...!uunet!ceilidh!dnichols 
  54.          <dnichols@ceilidh.beartrack.com>
  55.  Donald Nichols (DoN.)  |   Voice (Days): (703) 704-2280 (Eves): (703) 938-4564
  56.     --- Black Holes are where God is dividing by zero ---
  57.