FG

How can I list all locked users in Linux?

Fresh3 days ago
Mar 15, 202628671 views
Confidence Score0%
0%

Problem

How can I list all locked users in Linux? This command locks a particular user. Does Linux have any command that lists locked user?

Error Output

usermod -L user_name

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I list all locked users in Linux?

Low Risk

and/or should work. (in case your interested) Both of these illustrations demonstrate a very common technique that is used throughout Unix/Linux: what I'll call command piping. In these examples, the output of one command (such as ls is "piped to" a…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment