TTY 자동로그인

Ubuntu Korea Community Wiki
imported>Seony님의 2014년 4월 25일 (금) 09:12 판
둘러보기로 이동 검색으로 이동

TTY에서 자동 로그인 활성화 하기

<syntaxhighlight lang="bash"> sudo -i cat <<EOF >/etc/init/openvt.conf start on started tty1 stop on runlevel [!2345]

respawn pre-start script

   if status tty1 | grep -q start/; then
       stop tty1
   fi  

end script exec /bin/openvt -e -c 1 -f -- /bin/login -f USERNAME EOF

start openvt </syntaxhighlight>