SUMMARY: Auto-login after boot

From: Charlie Mengler (
Date: Fri Jun 19 1998 - 09:49:25 CDT

I got three responses (all different).
I have not had time to try any of them so far.

Gary Merinstein wrote:
> read up on /etc/inetd.conf and the "respawn" option

This isn't on the web, but...

in the /etc/inittab file, set the initdefault to 4
define an s4 level that runs scripts in rc4 (follow the s3 process...)
define a /etc/rc4.d/S99sulogin that su's to a user, whose login process
is what you want...

Now, this is mostly theory, but it should work.


Kevin Colagio, Systems Administrator, Webmaster, and perpetual student. Personal URL:<> ===================================================================

Take a look at XDM. It comes with Solaris, and instead of using the login widget, you should be able to do a little script work and start up pretty much whatever you want. If you want stuff to run as a non-root user ID, just do a "su - <username> -c <startup script>".

Ronald Loftin E-mail: Computing and Media Services Syracuse University Voice: 315-443-4103 Fax: 315-443-3817 ===================================================================== A copy of my original post follows immediately - Say I have a Sun that will be a dedicated application control and monitor station. I would like it to be running Open Windows, to have a numbers of "active" windows running various applications, and to start with xlock or similar security screen automagically after every reboot WITHOUT any one explicitly logging on to it or even having to touch the keyboard or mouse (& not running as root).

-- Charlie Mengler Anchor Chips Network/IT Manager 619-613-7916(V) 619-676-6896(F) 12396 World Trade Drive #212 San Diego, CA 92128-3788 Fight SPAM! Join CAUCE --------

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:42 CDT