Ask Your Question

how to remove user password?

asked 2014-05-23 11:56:00 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

So, my user didn't have password (from installation) until now when i needed to set a password for ssh. But now, when i try to remove the password by leaving the now password empty in passwd i get an error BAD PASSWORD: The password is shorter than 8 characters.

So, is there any way to bypass that restriction and completely remove the password?

Thank you!

edit: forgot to say it is a F20

edit retag flag offensive close merge delete


It's a f20

kif gravatar imagekif ( 2014-05-23 11:57:09 -0600 )edit

Do you mean automatic login?

skytux gravatar imageskytux ( 2014-05-23 15:34:47 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2014-05-23 15:41:08 -0600

hedayat gravatar image
passwd -d your_username
edit flag offensive delete link more


I tried changing Password Policies ext. and nothing helped - but forgot to check maybe the command itself (passwd) have the option:-)

Thank you very very much!!

kif gravatar imagekif ( 2014-05-23 16:00:57 -0600 )edit

:) You're welcome!

hedayat gravatar imagehedayat ( 2014-05-24 03:21:38 -0600 )edit

answered 2014-05-23 17:03:04 -0600

deusdara gravatar image
edit flag offensive delete link more

Question Tools


Asked: 2014-05-23 11:56:00 -0600

Seen: 7,477 times

Last updated: May 23 '14