HostOnNet Blog

Tag Archives: autologin

phpmyadmin auto login

Install phpMyAdmin in RHEL/CentOS/Ubuntu/Debian To set phpmyadmin to auto login, edit config.inc.php Find $cfg[‘Servers’][$i][‘auth_type’] = ‘cookie’; Replace with $cfg[‘Servers’][$i][‘auth_type’] = ‘config’; Find $cfg[‘Servers’][$i][‘host’] = ‘localhost’; Add Below $cfg[‘Servers’][$i][‘user’] = ‘root’; $cfg[‘Servers’][$i][‘password’] = ‘YOUR_MYSQL_ROOT_PW_HERE’;


Auto Login to Linux Console in CentOS 6

To auto login to linux console on boot, edit /etc/init/tty.conf vi /etc/init/tty.conf Find exec /sbin/mingetty $TTY Replace with exec /sbin/mingetty –autologin root $TTY diff with original tty.conf [root@localhost ~]# diff /etc/init/tty.conf ~/tty.conf.original 9c9 < exec /sbin/mingetty --autologin root $TTY ---