APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

successful unsuccessful logins
© December 2004 (various authors)

Subject: Re: Need to generate a report on Users that log in to the server
References: <45f17a6b.0301160925.63bd725d@posting.google.com> 
From: spcecdt@deeptht.armory.com (John DuBois)
Date: 18 Jan 2003 03:46:27 GMT

In article <45f17a6b.0301160925.63bd725d@posting.google.com>,
lalaker <prajapatisk@hotmail.com> wrote:
>  I have been given a task to generate a report, something like an
>audit report, for all the user that:
>1. have logged into the server
>2. No. of times failed to login to the server
>3. Accounts that have been locked etc....

I should've also mentioned that you can do it with just the utilities available
on the system, though with a somewhat more obtuse output format:

userls -x '{lastSuccessfulLoginTime} {lastUnsuccessfulLoginTime} {unsuccessfulLoginAttempts}'

See the userls man page for the other values you can give with -x.

John DuBois  spcecdt@armory.com  KC6QKZ/AE  https://www.armory.com/~spcecdt/

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> successful unsuccessful logins OSR5

Inexpensive and informative Apple related e-books:

Take Control of Numbers

El Capitan: A Take Control Crash Course

Digital Sharing Crash Course

iOS 10: A Take Control Crash Course

Take Control of the Mac Command Line with Terminal, Second Edition

Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Printer Friendly Version

If Linux can skate by the patent and copyright issues, its growth in the corporate world will continue no matter what business dislikes about the GPL. (Tony Lawrence)

Linux posts

Troubleshooting posts

This post tagged:



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode

SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)