Type the following command to delete a user password:
# passwd --delete username
OR
# passwd -d username
Above command delete a user's password (make it empty). This is a quick way to disable a password for an account. It will set the named account password less. User will not able to login. It is also a good idea to setup user shell to nologin to avoid security related problems:
# usrmod -s /sbin/nologin username
For example to delete password for user sweta, Type:
# passwd -d sweta
# usrmod -s /sbin/nologin sweta
# passwd --delete username
OR
# passwd -d username
Above command delete a user's password (make it empty). This is a quick way to disable a password for an account. It will set the named account password less. User will not able to login. It is also a good idea to setup user shell to nologin to avoid security related problems:
# usrmod -s /sbin/nologin username
For example to delete password for user sweta, Type:
# passwd -d sweta
# usrmod -s /sbin/nologin sweta
Subscribe To Get FREE Tutorials!
Respected Readers:
|
3 comments:
superb xeo ....
its a really great fun
If you need to hack into any database, delete record, improve credit score, spy on whatsapp, text, phone, emails, as long as it's hack contact jack @via Email :: dhackerj7@gmail.com //. Whats-App ::+60167569133 he is great, you won't be disappointed, cheap and fast, he saved my relationship Tell him Loya
Confused? Feel free to ask
Your feedback is always appreciated. I will try to reply to your queries as soon as time allows.
Post a CommentNote:-
Please do not spam Spam comments will be deleted immediately upon my review.
Regards,
XEO Hacker