Solved

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

Posted on 2004-09-09
2
223 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 Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now