Solved

Unix Login activity

Posted on 2009-03-30
4
306 Views
Last Modified: 2012-05-06
I am new to unix and was wondering if unix keeps a log of activity like account creation and password changes etc.

i
0
Comment
Question by:JonMny
  • 2
4 Comments
 
LVL 9

Author Comment

by:JonMny
ID: 24023499
Also would be interested if there is a way to see what commands they ran
0
 
LVL 48

Expert Comment

by:Tintin
ID: 24025238
The first thing to learn about Unix is there is no operating system actually called Unix.  Each of the Unix flavours/variants have their own admin tools which can diff greatly from platform to platform.

So the first thing to tell us is which Unix flavour you are talking about.

In general, most Unix systems don't keep a log of when accounts were created or password changes or what commands have been run.

However, these can be logged depending on the Unix flavour and what tools you can use configure.
0
 
LVL 9

Author Comment

by:JonMny
ID: 24025491
hp-ux
0
 
LVL 38

Accepted Solution

by:
yuzh earned 500 total points
ID: 24026167
Sorry, there is no such infor available  in the system, unless you maunally write a log file for the job.
You can try to look at the sam log
man samlog_viewer
to learn more details.
PS: if someone use "useradd" to create an new account, and "passwd" command to change password, there will be nothing record in the sam log!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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 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.

840 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