Article View: comp.sys.sun
Article #1455HELP: how to autologin at boot time?
From: Steve Harris
Date: Fri, 15 Sep 1989 14:54
Date: Fri, 15 Sep 1989 14:54
21 lines
1681 bytes
1681 bytes
We have a problem which somebody MUST already have solved. Our application uses a Sun workstation as the control console for a real-time control system. When the system is powered up, the Sun boots as usual, eventually leading to the unix login prompt. The operator logs in as "operator" and the .login and .cshrc scripts start up suntools and run the control system. (If it matters, we currently are running SunOS 3.5; we plan to upgrade to 4.0.3 by the end of the year.) What we want to do is to eliminate the need for the operator to type "operator" at the login prompt. We want the system to do an autologin and thereby automatically to start the control system. However, we want to be in the same suntools environment as we currently have, i.e., we still need to be able to open windows and have the user id default to operator. I assume this will involve adding a script "/etc/rc.ctrlsys" which will be run as a final step in /etc/rc. But I don't know how to simulate a user login at that level. Surely somebody else is doing this already! Suggestions/pointers to useful ideas gratefully accepted. Steve Harris -- Eaton Corp. -- Beverly, MA -- uunet!etnibsd!vsh
Technical Details
Message-ID:
<1518@brazos.Rice.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucsd!ogccse!blake!milton!uw-beaver!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucsd!ogccse!blake!milton!uw-beaver!rice!sun-spots-request From: etnibsd!vsh@uunet.uu.net (Steve Harris) Newsgroups: comp.sys.sun Subject: HELP: how to autologin at boot time? Keywords: Miscellaneous Message-ID: <1518@brazos.Rice.edu> Date: 15 Sep 89 14:54:10 GMT Sender: news@rice.edu Organization: Sun-Spots Lines: 21 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 124, message 1 of 12