Login Changes - 2022.1 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
Release Date
2022.1 English
  1. AUTO-LOGIN option in PetaLinux tool is disable by default. If required user can enable this with $ petalinux-config -c rootfs -→ Image Features -→ [ ] auto-login and it will be deprecated in future releases because yocto upstream does not provides support.
  2. The root login is disabled by default and the default user will be petalinux and the password should be set on first boot. If you want to use ssh login you should first boot via console and need to set password.
  3. Yocto removed plain text passwords support, the password should be in salt farm. PetaLinux will convert the provided password in config to static salt password using openssl and add to plnxtool.conf.
    Config settings to set user and password:
    $ petalinux-config -c rootfs -→ PetaLinux RootFS Settings -→ (root:root;petalinux:petalinux:passwd-expire;)
    In plnxtool.conf EXTRA_USERS_PARAMS looks like:
    EXTRA_USERS_PARAMS = "usermod -p '\$6\$xx\$CkLCyUiVJPDvNL9C/gQans7jV3BvnVoW60raOcEE.KlziPn8pPMe8WvAQ3cPwwO4YRcYRBjlUhSfw/kaubhtp1' root; \
    useradd -p \$6\$xx\$12fBVQgrrkB6ZmS6DSUIeVLW3Cot/hC4g8ZhbcwLZtKG93spibFJ/.0rF688RnsqMrgIbnHFkZnJu0Tk9.7F41' petalinux;passwd-expire petalinux; \"
    Note: Display WARNING message when 'root' password is set to 'root'. Warning: Root password set to 'root', It is highly recommended to change Root password.
  4. Add config support to specify passwd-expire.
    $ petalinux-config -c rootfs -→ PetaLinux RootFS Settings -→ (root:root;petalinux:petalinux:passwd-expire;) Add Extra Users
  5. Removed the ROOTFS_PASSWD config option instead using EXTRA_USERS config to specify the root user password.