The command "faillog" is probably the command you want. Check the man page. On Tue, Jun 15, 2010 at 4:15 PM, Kaydo <kaydo@xxxxxxxx> wrote: > Hi, > > > > I've configured user lockouts using the pam_tally2 module but I have a > question. Is there a command that I can run that will tell me whether a > user's account is locked out from this module or not? If I run passwd -S > <user> it doesn't say that the account is locked, I'm thinking this only > works if the account was locked using usermod -L. I know I can use > pam_tally2 command to see the failed login counts, but it would be great if > there were a command that would directly tell me if a user was locked out > due to this module. Anybody know of such a command? > > > > Thanks guys, > > > > > > ________________________________________________ > > Kenrick Bramble, Systems Manager > > Administrative Systems Dept | 713-348-8645 | <mailto:kaydo@xxxxxxxx> > kaydo@xxxxxxxx > Rice University | 6100 Main Street | Houston, TX 77005 > > > > "Never seem more learned than the people you are with. Wear your learning > like a pocket watch and keep it hidden. Do not pull it out to count the > hours, but give the time when you are asked." > > > > -- Lord Chesterfield > > > > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list