[unix-pc.bugs] help: single user, windows, setdate

michael@stb.UUCP (Michael) (08/19/88)

(That may not be a descriptive title, but)

I'm having a few minor problems. I tried to get the equivalent of a single
user mode by putting a "/bin/sh" in /etc/rc right after the 
exec /bin/sh /etc/rc WINDOWED line (more accurately, right after the fi)
so that the first thing this new shell would do is execute an interactive
shell before bringing anything up.

But:
more fails to work on any file longer than one page (prints the first page
then dies)
setdate eats CPU time like mad, and in system mode (the death star icon
stays up). DEL doesn't help, nor does ctrl-\.

And, when I tried putting a /bin/ksh in earlier (first line, in fact) it
seemed to hang when I exited ksh. Anyone know why/care to comment/have
a better way of getting single user mode/anything?

				Michael
p.s. Whats the difference between the two IPC drivers?
: --- 
: Michael Gersten			 uunet.uu.net!denwa!stb!michael
:				sdcsvax!crash!gryphon!denwa!stb!michael
: Coff Coff <=== Stop smoking.

jr@amanue.UUCP (Jim Rosenberg) (08/26/88)

In article <10547@stb.UUCP> michael@stb.UUCP (Michael) writes:
>I'm having a few minor problems. I tried to get the equivalent of a single
>user mode by putting a "/bin/sh" in /etc/rc right after the 
>exec /bin/sh /etc/rc WINDOWED line (more accurately, right after the fi)
>so that the first thing this new shell would do is execute an interactive
>shell before bringing anything up.

This may not be the right answer -- I'm just taking a stab in the dark.  Did
you try putting in explicit I/O redirection?  It's quite common for /etc/rc
commands to need explicit redirection for all of file descriptors 0, 1 and 2.

Try:

/bin/sh < /dev/window > /dev/w1 2>&1
-- 
 Jim Rosenberg
     CIS: 71515,124                         decvax!idis! \
     WELL: jer                                   allegra! ---- pitt!amanue!jr
     BIX: jrosenberg                  uunet!cmcl2!cadre! /