Tuesday, June 1, 2021

RHEL7 - How to expire and Lock linux account

 
Lock and expire linux account
# chage -l jack
# chage -E 2021-06-01 jack
# usermod -L jack

No comments:

Post a Comment

Git branch show detached HEAD

  Git branch show detached HEAD 1. List your branch $ git branch * (HEAD detached at f219e03)   00 2. Run re-set hard $ git reset --hard 3. ...