How to Change the Size of System Password

I have just installed Fedora 43 Cinnamon.

During the install it tells me to install a password and has to be 6 digits or greater.

Well that’s all good and well.

No doubt a password has many uses.

But I am the only User in my house and I simply do not want a password.

On a new installation of fedora there are many instances where the system stops and wants your password.

I know that after everything has been installed it’s use will be minor.

But I just Do Not want it.

Could some kind persom tell me how to remove it or at least reduce it’s size to say 1 digit.

Switch to a root shell using the command sudo -i. Then, use the passwd USERNAME command to change your user’s password (change “USERNAME” with your username). This will issue a warning, but allow you to bypass the character limit. I wasn’t able to set an empty password with this method, but I could set a password with only one character.

2 Likes

What about using:

sudo passwd -d $(whoami)

this deletes your password entirely. You’ll just hit Enter when prompted.

3 Likes

What effect will this have on using sudo, which asks for the user password to authenticate?

sudo should not ask for the password in this case

1 Like

Thanks very much, This Did the Job.