- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to write a script for find out unauthorized ac...
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
06-17-2008 01:12 AM
06-17-2008 01:12 AM
how to write a script for find out unauthorized access users
We have rx5670 HP-UX 11i v2 11.23 running cluster system. We want to monitor unauthorized access on the production system.
Could any one help us to write a script to find the unauthorized access user information and send another file location?
Thanks
Khairul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 03:30 AM
06-17-2008 03:30 AM
Re: how to write a script for find out unauthorized access users
I forget the exact message. But to test simply login unsuccessfully several times. At the same time look at the syslog for the entry.
Once you know what to look for in the syslog then write a script to grep for the entry using the static (unchanging) part of the message.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 03:33 AM
06-17-2008 03:33 AM
Re: how to write a script for find out unauthorized access users
You can then utilize your script to forward the alert to an existing Monitoring agent such as Openview.
Openview has a command called opcmsg which you can pass parameters. opcmsg will then send the message to the Openview management server to be processed.
Alternatively just use mailx to send a message to the appropriate people.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 03:40 AM
06-17-2008 03:40 AM
Re: how to write a script for find out unauthorized access users
lastb command show you bad login information. You can redirect it's output to a file.
Kenan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 04:51 AM
06-17-2008 04:51 AM
Re: how to write a script for find out unauthorized access users
bad attempts may not be put in the syslog on some systems....depends on how it's setup.