Results 1 to 3 of 3
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 ...
- 09-28-2005 #1Just Joined!
- Join Date
- Nov 2004
- Posts
- 12
Login Script
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.
JR
- 09-29-2005 #2Linux User
- Join Date
- Aug 2005
- Location
- Italy
- Posts
- 401
/etc/inittab
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!!!!When using Windows, have you ever told "Ehi... do your business?"
Linux user #396597 (http://counter.li.org)
- 09-29-2005 #3Just Joined!
- Join Date
- Nov 2004
- Posts
- 12
login
/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.


Reply With Quote
