Path: utzoo!utgpu!water!watmath!uunet!lll-winken!lll-tis!pacbell!ditka!amanue!jr From: jr@amanue.UUCP (Jim Rosenberg) Newsgroups: unix-pc.bugs Subject: Re: help: single user, windows, setdate Message-ID: <304@amanue.UUCP> Date: 26 Aug 88 03:44:20 GMT References: <10547@stb.UUCP> Reply-To: jr@amanue.UUCP (Jim Rosenberg) Organization: Amanuensis Inc., Grindstone, PA Lines: 18 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! /