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 
    May 29, 2020 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 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