Find the answer to your Linux question:
Results 1 to 3 of 3

Thread: Login Script

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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.


  2. #2
    Linux User
    Join Date
    Aug 2005


    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 (

  3. #3


    /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.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts