Administration

To see the password policy type (where username should be replaced with the user)

chage -l username

To unlock a locked user type
faillog -r -u userName

To see if an account is locked type
faillog

You can also unlock an account with passwd
passwd -u username

Or lock an account
passwd -l username

Remove files recursive with all files and directories
rm -r directory_name
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License