>>> On 1/22/2009 at 12:06 PM, Bruce Hayden <[email protected]> wrote: > I actually got it from this mailing list, maybe back in 2001. It has > worked well, so I kept using it. Trying "bash -l" works, but root > does not show as logged on when I enter "who" like it does if mingetty > or agetty is used, plus the profiles are run, environment variables > are set, etc. As usual, to each its own..
I just ran some tests on a SLES10 SP2 system. With this entry in /etc/inittab: 1:2345:respawn:/bin/login -f root I get an automatic login of root on the console, root does show up as logged in, and all the environment variables are already set. Which is odd, because the man page for login specifically says login won't work for the root user. Regardless, it looks like you might be able to simplify things a little bit in the future. Mark Post ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
