Lock and unlock user
For 'oracle' user:
usermod -L oracle
usermod -U oracle
check locking:
passwd --status oracle
oracle LK ....
if unlocked then PS instead LK
sdmrnv, 2019-07-24 [0.759ms, s]
For 'oracle' user:
usermod -L oracle
usermod -U oracle
check locking:
passwd --status oracle
oracle LK ....
if unlocked then PS instead LK