Kim Thu Đoàn
New member
How can I tell if a Linux account is disabled?
Answer
For each of the methods described above, you can verify if the user account is locked/disabled using below methods.
Answer
For each of the methods described above, you can verify if the user account is locked/disabled using below methods.
- Check if the user account is locked. Check for the flag *LK* in the below command output which indicates that the account is locked. …
- Check if the account has an expire date. …
- Check for non-interactive shell.