I built a Point-on-Sale system using slackware linux. I would like to create a script that will login to the system when the machine is booted with an account that is not password protected.
What would be the best way to do this?
Thanks in advance.
You should mofidy the /etc/inittab file. You should specify to getty to launch an alternative login program (using -l option).
This can seem simple, but I don't know if specifing /bin/true it will work... I don't think...
You can create a custom login program and launch it.
Maybe you can launch /bin/sh!!!!
/sbin/agetty -l "/bin/login user" 38400 tty1 linux
im not on site at the moment, so could someone please tell me if this would work?
if not, im guessing this is the place to put my script.
Thanks for the help.