Force user to change password change on first login
We will use chage for this. chage utility allows us to change the password expiry date.
To run 'chage -d0 root' after rootfs is created we will use 'ROOTFS_POSTPROCESS_COMMAND'.
Modified core-image-minimal.bb by adding a 'ROOTFS_POSTPROCESS_COMMAND'
Flash the image on the Beaglebone black. On first boot, it will ask you for changing the password.
To run 'chage -d0 root' after rootfs is created we will use 'ROOTFS_POSTPROCESS_COMMAND'.
Modified core-image-minimal.bb by adding a 'ROOTFS_POSTPROCESS_COMMAND'
Flash the image on the Beaglebone black. On first boot, it will ask you for changing the password.
This is a great article and I found lot of valuable information from here.
ReplyDeleteYou would love to check this article that has great information.
https://techiewheel.blogspot.com/2021/01/how-to-change-password-in-linux.html
Forgot Aol Password
ReplyDeleteChange Aol password