[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: No logins



> What would it take to make RH 7.1 boot up and not require a login?  Then
> what would it take to change to root or boot up with root privileges but
> not require to login as root?
>
> In other words, how do you make it so no passwords are required or at least
> asked for?

Hmm.  Haven't tried this personally, but I'm pretty sure it or something like 
it would work:

Edit /etc/inittab and change
1:2345:respawn:/sbin/mingetty tty1  

To

1:2345:respawn:/bin/su - username

or if you want to start X right away:

1:2345:respawn:/bin/su -c "startx" username

-- 
Like to travel?                        http://TravTalk.org
Micah Yoder Internet Development       http://yoderdev.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]