Article View: comp.sys.sun
Article #1552Getty Question
From: Dave Bloom
Date: Fri, 22 Sep 1989 15:26
Date: Fri, 22 Sep 1989 15:26
22 lines
1339 bytes
1339 bytes
Hi there. I have a project where, instead of starting a getty for the console in /etc/ttytab, I instead start a shell script, which later exec's getty. Everything works fine if the user logging in has /bin/sh as his default login shell, but there are problems if the user's shell is csh or ksh. The symptoms are as follows: The shell starts up and executes all the .login or .profile commmands, issues a prompt, and then, just before it's ready to take the first command, dies and init, seeing that the shell has died, starts the script anew. I suspect that the process/tty groups are not being set up correctly, and the shell dies as a result. Can someone out there tell me the steps involved in execing a getty to the console SUCCESSFULLY? Please respond by email if possible... we are only able to keep three days of news on this system and I'm afraid I'll miss your message. Thanx.
Technical Details
Message-ID:
<1635@brazos.Rice.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!rice!sun-spots-request From: dave@andromeda.rutgers.edu (Dave Bloom) Newsgroups: comp.sys.sun Subject: Getty Question Keywords: Miscellaneous Message-ID: <1635@brazos.Rice.edu> Date: 22 Sep 89 15:26:06 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 22 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 131, message 8 of 11