Post Go back to editing

linux username and password removal

Hello ,

I am using ADSP SC589 custom board. I am new to linux. I am running linux OS on ARM.

While booting, console is asking username and password and by giving "root" I am able to login.

I want to remove these two security checks so that system can autoboot.

Also suggest how to set user specific username and password?

Regards,

GBiswal

Top Replies

    •  Analog Employees 
    in reply to GBiswal462 +1 verified

    Hi ,

    To remove the password in buildroot, you could change the inittab file in output/target just like below. But note that this operation is not secure so we do not suggest to do this.

    vim buildroot…

Parents
  • Hi,

    the system will boot up even if you will not log in.

    Regarding to user accounts. For compile-time users generating (if you are using Buildroot), please refer to Buildroot manual

    For run-time (on your board), use "adduser" command as root (type "adduser -h" for help).

  • Hello,

    Thanks for your reply.

    I want to remove the user login and password as mentioned in below figure (linux user guide).

    I want this because system needs to be on linux command prompt when we power on the board.

    Regards

    GBiswal

  • Hi ,

    To remove the password in buildroot, you could change the inittab file in output/target just like below. But note that this operation is not secure so we do not suggest to do this.

    vim buildroot/output/target/etc/inittab
    # Put a getty on the serial port
    - ttySC0::respawn:/sbin/getty -L ttySC0 57600 vt100 # GENERIC_SERIAL
    + ttySC0::respawn:/bin/sh

    Then make linux-rebuild;make to generate a new uImage file which does not need the login operation.

    Let us know if you have more questions. Thanks!

Reply
  • Hi ,

    To remove the password in buildroot, you could change the inittab file in output/target just like below. But note that this operation is not secure so we do not suggest to do this.

    vim buildroot/output/target/etc/inittab
    # Put a getty on the serial port
    - ttySC0::respawn:/sbin/getty -L ttySC0 57600 vt100 # GENERIC_SERIAL
    + ttySC0::respawn:/bin/sh

    Then make linux-rebuild;make to generate a new uImage file which does not need the login operation.

    Let us know if you have more questions. Thanks!

Children