To remove a user password in Linux, you can use the
passwd
command with the --delete
option. You must log in as a root user to do this.Steps
1. Log in as a root user using the
sudo
or su
command 2. Type
sudo passwd -d <user_name>
3. For example, to remove the password for the user named "alex", type
sudo passwd -d alex
autologin
added the following two lines to /etc/lightdm/lightdm.conf.d/11-armbian.conf
autologin-user=<YOUR USER> autologin-user-timeout=0
the complete file:
[Seat:*]
autologin-user=pi
autologin-user-timeout=0
user-session=xfce
greeter-show-manual-login=false
greeter-hide-users=false
allow-guest=false
Note that I also removed the password for my user (in my case 'pi')