+4 votes
64 views
in Linux by (242k points)
reopened
Delete Linux password - this is how it works

1 Answer

+5 votes
by (1.6m points)
 
Best answer

How to delete a Linux password

A Linux password, whether your own or that of another user, can be easily deleted. We show you how it works..

image image

To remove a user's password on Linux, you must have root access and know the username of the target account. Just follow our instructions and remove the password with just a few clicks.

How to delete a Linux password

If you want to delete a user's password, use the command sudo passwd -d <user name> . You may be asked for your own password in order to gain root privileges. If you want to remove your own password but don't know your username, you can bring it up with the whoami command . From now on the user can log in without entering a password.

image

...