- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Several key files in /etc rwritten EMPTY!
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
09-19-2008 11:04 AM
09-19-2008 11:04 AM
/etc/inittab, /etc/inetd.conf, and /etc/MANPATH
The system is running HP-UX 11i v3 - Mar08.
Anyone seen anything like this?
Any ideas on a way to figure this out if it happens again or a suggested way to prevent and/or detect it.
I know I can make good copies and set up a cron job to monitor the files, but I am not sure how I might detect the cause of the problem.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 11:11 AM
09-19-2008 11:11 AM
Re: Several key files in /etc rwritten EMPTY!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 11:23 AM
09-19-2008 11:23 AM
Re: Several key files in /etc rwritten EMPTY!
I would suspect an errant program more likely than a human since the systems have limited access. However, it might make sense to restrict root access so su must be used, but that is not setup at this time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 11:55 AM
09-19-2008 11:55 AM
SolutionBoth are freeware.
Tripwire is more for monitoring network traffic and HIDS for monitoring file changes. They would not lock the change out ( I do not think) but you would be notified of the change and perhaps be able to roll-back a copy of the file.
docs are on docs.hp.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 12:48 PM
09-19-2008 12:48 PM
Re: Several key files in /etc rwritten EMPTY!
if you want to try to find out manually, i a script you can check modification date is changed in an infinitive loop. is changed using lsof process can be found. but i am not sure you can get the process after condition is true (file is changed)
Kenan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 05:04 PM
09-19-2008 05:04 PM
Re: Several key files in /etc rwritten EMPTY!
Firstly, if we do not suspect hacking
activity (that includes admins who
have privileges but are clueless as
far as Unix is concerned),then maybe
your root file system is full. I have
seen truncated files when someone
is attempting to save them but there is no space.
Since you run HP-UX 11.31, why not go a step
ahead as well:
a) Configure Dynamic Root Disk cloning
b) Install HIDS, AIDE and/or Tripwire
I used AIDE and Tripwire when I worked
on joint projects with competitors
(IBM, CSC, EDS) to ensure that nobody
can make modifications without ALL
OF US KNOWING ABOUT THEM. It was not a
matter of mistrust but simply a good
housekeeping duty.
Also, I hope you do not share root account
with others. If so, then configure
Role Based Access Control.
For now, I would not trust your server.
A rebuild is the only proper way to go
forward.
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 08:59 PM
09-19-2008 08:59 PM
Re: Several key files in /etc rwritten EMPTY!
The only changes to /etc/MANPATH should occur when using swinstall/swremove on products that add themselves to MANPATH in the control scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 09:33 AM
09-25-2008 09:33 AM
Re: Several key files in /etc rwritten EMPTY!
The problem has been repaired so there is no way to examine the problem scenario other than possibly logs leftover.
Thanks all for your input!