Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site uvacs.UUCP
Path: utzoo!watmath!clyde!bonnie!akgua!mcnc!ncsu!uvacs!scl
From: scl@uvacs.UUCP (Steve Losen)
Newsgroups: net.unix
Subject: Re: Automatically logging in root
Message-ID: <2490@uvacs.UUCP>
Date: Tue, 12-Nov-85 11:17:17 EST
Article-I.D.: uvacs.2490
Posted: Tue Nov 12 11:17:17 1985
Date-Received: Thu, 14-Nov-85 07:47:08 EST
References: <3088@brl-tgr.ARPA>
Organization: U.Va. CS dept.  Charlottesville, VA
Lines: 10

I don't know how to automatically login as root.  Like the original poster,
I also like to be root only when necessary.

What I do is login as myself and then su to root.  In csh or ksh you can
stop the root shell with "suspend" and revert to your true identity.
(Your system must support job control for this) When you need root again,
just "fg" the stopped su (fast!).  I run ksh and have things set up so that
both shells use the same history file.  So when I get a "permission denied"
error on a long command, I can "fg" to my root shell, and re-do the
command from history.