Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 02:13 PM
03-12-2002 02:13 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 02:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 02:18 PM
03-12-2002 02:18 PM
Re: log file
Two places I can think of:
/var/adm/auth.log
/var/adm/sulog
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 02:20 PM
03-12-2002 02:20 PM
Re: log file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 02:23 PM
03-12-2002 02:23 PM
Re: log file
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 02:24 PM
03-12-2002 02:24 PM
Re: log file
cat /var/adm/wtmp | /usr/sbin/acct/fwtmp > /var/tmp/w>
or
last -10
gives you the lasat 10 entries
last -R -10
displays the hostname
same thing with lastb.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 02:30 PM
03-12-2002 02:30 PM
Re: log file
/usr/sbin/acct/fwtmp < wtmp | grep -eftp -eremshd | more (see if wtmp has
ftp or remsh contained in it)
/usr/sbin/acct/fwtmp < wtmp | grep -v -eftp -eremshd > wtmp.asc
(copy everything except ftp and remsh to an ascii file)
/usr/sbin/acct/fwtmp -ic < wtmp.asc > wtmp.bin
(convert ascii file to binary file)
last -f wtmp.bin
(use the 'last' command to view the binary contents of wtmp.bin)
cat /var/adm/wtmp | /usr/sbin/acct/fwtmp
fwtmp < /etc/wtmp > /tmp/filename
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 02:32 PM
03-12-2002 02:32 PM
Re: log file
analyse the output from either the
last or lastb commands.
e.g.
# last | grep fred (username)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 02:32 PM
03-12-2002 02:32 PM
Re: log file
Good luck
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 03:46 PM
03-12-2002 03:46 PM
Re: log file
One of my favorites is to use the who command against /var/adm/wtmp. See man who for more info but I like "who -a /var/adm/wtmp".
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 03:53 PM
03-12-2002 03:53 PM
Re: log file
The first link gives a sample on how to read the info from the log files and the second link suggests what you can do to cleanup those log files,
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=fe90b163102fbbb47b/screen=ckiDisplayDocument?docId=200000054497817
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=fe90b163102fbbb47b/screen=ckiDisplayDocument?docId=200000058669444
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 04:24 PM
03-12-2002 04:24 PM
Re: log file
/etc/utmp
/var/adm/wtmp
/var/adm/btmp
Here is the explanation about those files.
A. File utmp contains a record of all users logged onto the system.
B. File btmp contains bad login entries for each invalid logon attempt.
C. File wtmp contains a record of all logins and logouts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 12:00 AM
04-25-2002 12:00 AM