[HOW TO] delete password Linux user

Sometimes you need to reset password Linux user, and the question appears: how to delete Linux user password?

The answer is simple.

Firstly all user encrypted passwords are stored in /etc/shadow file. You login as a root user. You type the following command to delete a user password:

passwd --delete user_name
or
passwd -d user_name

Above command will make password empty.

Tiến Phan - R0039

Knowledge is Endless

Sharing for Success

0 nhận xét:

Post a Comment