Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!rutgers!uwvax!tank!shamash!com50!quest!sheldon From: sheldon@quest.UUCP (Scott S. Bertilson) Newsgroups: comp.sys.att,unix-pc.general Subject: Re: Inode fixes & single user woes : was (3b1 40meg disk woes: Help) Summary: singleuser by modifying /etc/profile Message-ID: <3800@quest.UUCP> Date: 9 May 89 01:25:28 GMT References: <3961@emory.mathcs.emory.edu} <17513@cup.portal.com> <2947@ihuxy.ATT.COM> <586@cbnewsc.ATT.COM> <17733@cup.portal.com> <1989May5.150438.13740@ziebmef.uucp> <1762@gbmatl.UUCP> Reply-To: sheldon@quest.UUCP (Scott S. Bertilson) Followup-To: comp.sys.att Organization: Quest Research Inc., Burnsville, MN Lines: 12 Xref: utzoo comp.sys.att:6404 unix-pc.general:2881 Your confusion about "init s" getting you to singleuser mode is due to the fact that "/etc/profile" intercepts the shell before it gets to you...it finishes the shutdown and prints the "hit RETURN to reboot". It does a "trap '' 1 2 3" to stop you from getting out without rebooting. I've modified mine so that it does a "trap 1 2 3" just before it does the "read inputline". That will allow you to hit the DEL key to interrupt and get a shell prompt. -- Scott S. Bertilson ...uunet!rosevax!rose3!quest!sheldon scott@poincare.geom.umn.edu