Solved

Need list of all logins to our server, with username, time, ip address (if possible)

Posted on 2004-09-09
2
224 Views
Last Modified: 2013-12-27
Hi,

How can I get a list of all logins to our server on a certain date and receive the following information in return:

loginname
time they logged in
time they logged out
ip address (if possible)

plese email me at elwayisgod@hotmail.com with replies too.  This is very urgent as we had a security breach.

Thanks

Sam
0
Comment
Question by:elwayisgod
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
ID: 12019499
'last' will give you login name, device logged in on, remote host (if a network login), login time, and session duration.
0
 

Author Comment

by:elwayisgod
ID: 12019783
Perfect works perfectly and gives me answers that I'm looking for.

0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question