Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    JR
    JR is offline
    Just 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

  2. #2
    Linux 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)

  3. #3
    JR
    JR is offline
    Just 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.

  4. $spacer_open
    $spacer_close

Posting Permissions

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