PrepAway - Latest Free Exam Questions & Answers

Type in the simplest command to do this

CORRECT TEXT
User rick has been suspended from your company and you wish to lock his account to stop anyone using it. Type in the simplest command to do this

PrepAway - Latest Free Exam Questions & Answers

Answer: passwd -L rick

Explanation:
usermod rick -L
usermod -L rick
We can lock the user account either usermod or passwd command.
#usermod -L username : Which locks the user account
#usermod u username : which unlocaks the user account


Leave a Reply