To auto log-in, I use a feature of "agetty": On /etc/inittab:
# TERMINALS # c1:12345:respawn:/usr/bin/fbi -a -noverbose --nocomments /etc/splash/natural_altec/images/silent-1024x768.jpg c1:12345:respawn:/sbin/agetty --noclear 38400 tty1 linux c2:2345:respawn:/sbin/agetty 38400 tty2 linux c3:2345:respawn:/sbin/agetty 38400 tty3 linux c4:2345:respawn:/sbin/agetty 38400 tty4 linux c5:2345:respawn:/sbin/agetty 38400 tty5 linux c6:2345:respawn:/sbin/agetty -a AutoLogInUserName 38400 tty6 linux And for auto run, after auto log-in accomplished, I use ".bash_profile" on the auto logged-in user's home directory. Hope this helps Francisco 2014-03-28 11:15 GMT-03:00 Peter Humphrey <pe...@prh.myzen.co.uk>: > On Saturday 22 Mar 2014 19:37:35 Neil Bothwick wrote: > > On Sat, 22 Mar 2014 13:57:22 +0000, Peter Humphrey wrote: > > > I've installed that old favourite SysRescCD on a pen drive, following a > > > method I found on the Web to include a persistent file-system with all > > > the extras I wanted in, e.g., /usr/local/bin. > > > > > > It works well, except that I haven't found yet where to put all my > > > aliases to have them sourced at (auto) log-in. > > > > There is a file that is executed by default at login, I think it > > is .autorun. I remember having to add an option to ignore it on the > > LXFDVDs because we use .autorun on those to launch a browser. > > I had a poke around and didn't get anywhere with .autorun, but eventually I > found that SysRescCD uses zsh, not bash. It hadn't occurred to me until > then > to consider the shell. So that's why the auto-login function wasn't > behaving > the way I expected. > > Thanks again Neil. > > -- > Regards > Peter > > >