KB Knowledge Base
How To Lock And Unlock A System User Account

Article By justin


img

Linux Shell BIP media Disabling shell access doesn't fully lock a user out of a server. They can still login via ftp/pop/imap/smtp servers if they are running on the local server and are checking local user authentication. Below you will find instructions on how to fully lock a system users account.


In this example we will lock the system user peterhope

/bin/passwd -l 


In this example we will unlock the system user peterhope

/bin/passwd -u peterhope





Tags: , , , ,

Spin up a VPS server in no time flat

Simple setup. Full root access. Straightforward pricing.

DEPLOY VPS SERVER

Leave a Reply



Feedbacks