Re: how to enable autologin @ tty1

2014-02-06 Thread Tom H
On Wed, Feb 5, 2014 at 8:39 AM, =?windows-1252?Q?Bill_Askew?=
r.w.as...@boeing.com wrote:

 I created a file tty1.conf
 Containing

 stop on runlevel [S016]

 respawn
 exec /sbin/mingetty --autologin your user name /dev/tty1

 I I modified start-ttys.conf like this;

 start on stopped rc RUNLEVEL=[2345]

 env ACTIVE_CONSOLES=/dev/tty[1-6]
 env X_TTY=/dev/tty2
 task
 script
 . /etc/sysconfig/init
 for tty in $(echo $ACTIVE_CONSOLES) ; do
 [ $RUNLEVEL = 5 -a $tty = $X_TTY ] amp; continue
 initctl start tty TTY=$tty
 done
 initctl start tty1
 end script




# cat /etc/sysconfig/init
...
ACTIVE_CONSOLES=/dev/tty[2-6]
...


# cat /etc/init/start-ttys.override
start on stopped rc RUNLEVEL=[2345]
env X_TTY=/dev/tty7
task
script
. /etc/sysconfig/init
for tty in $(echo $ACTIVE_CONSOLES) ; do
[ $RUNLEVEL = 5 -a $tty = $X_TTY ]  continue
initctl start tty TTY=$tty
done
exec /sbin/mingetty --autologin root /dev/tty1
end script


Re: how to enable autologin @ tty1

2014-02-05 Thread Tom H
On Tue, Feb 4, 2014 at 3:02 AM, Edison, Arul (GE Healthcare)
aruljeyananth.jamesedi...@ge.com wrote:

 I would like to know what is the standard way of enabling
 auto login in Scientific linux OS in console mode.

 I tried adding entry in /etc/inittab file as I used to do in another linux
 distribution. It doesn’t work in Scientific Linux

Take a look at /etc/init/{start-ttys,tty}.conf