- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Old Users on HP-UX 11.0
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
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
04-30-2002 11:52 AM
04-30-2002 11:52 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2002 11:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2002 11:56 AM
04-30-2002 11:56 AM
Re: Old Users on HP-UX 11.0
==> "last" command queries the /etc/utmp and /etc/wtmp file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2002 11:56 AM
04-30-2002 11:56 AM
Re: Old Users on HP-UX 11.0
wtmp and btmp.
you can turn the logging on by doing the commands
last
and
lastb
There is alost a last -R option that tells you where they come from. If you have allot of activity watch the logs they do grow.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2002 11:58 AM
04-30-2002 11:58 AM
Re: Old Users on HP-UX 11.0
try these commands:
# last
# lastb
Check the man pages for details. These commands takes inputs from /var/adm/wtmp (record for all login and logouts) and /var/adm/btmp (record for bad logins)
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2002 11:58 AM
04-30-2002 11:58 AM
Re: Old Users on HP-UX 11.0
Do a last | more , this will give users logging in decending order .
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2002 12:04 PM
04-30-2002 12:04 PM
Re: Old Users on HP-UX 11.0
last command is one option. You can also look at /var/adm/syslog/syslog.log file for login connections.
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2002 12:07 PM
04-30-2002 12:07 PM
Re: Old Users on HP-UX 11.0
last -R
So I can see where they are comming from.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2002 12:55 PM
04-30-2002 12:55 PM
Re: Old Users on HP-UX 11.0
last should work out of the box. lastb may need a kick --
cd to /var/adm/syslog and touch btmp if it doesn't exist. This will queue the system to start recording failed login attempts.
Because btmp may contain passwords or other details of a user account, it is a good idea to ensure it has r/w permissions for owner (root) only.
Best regards.