- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Random files made size zero
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
02-27-2004 02:44 AM
02-27-2004 02:44 AM
Random files made size zero
Thanks
Damon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:48 AM
02-27-2004 02:48 AM
Re: Random files made size zero
Note the time stamps of these files. Run 'last -R' and find out the logins that match these time stamps and that have permissions to alter these files. Ofcourse, one could use 'touch' to alter the time stamps.
If you don't find any, then check your all cronjobs for jobs that run during that time. You may want to view those cronjobs and see anything suspecious.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:50 AM
02-27-2004 02:50 AM
Re: Random files made size zero
Could you give us a few examples of those files ( PATH and file names ) ?
Kind regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:56 AM
02-27-2004 02:56 AM
Re: Random files made size zero
Like the others have mentioned check cron and server access. Did those file change onwnership or mode? (users umask) Check passwd file for strange things failed sulogs stange ip-adresses that have connected?
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 03:02 AM
02-27-2004 03:02 AM
Re: Random files made size zero
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 03:06 AM
02-27-2004 03:06 AM
Re: Random files made size zero
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 03:45 AM
02-27-2004 03:45 AM
Re: Random files made size zero
When HP-UX filesystems, especially root on 11.00 get 100% full, files randomly get reset to zero bytes. On root, thats usually /etc/passwd or /etc/group
Clear space and it will stop happening.
If the machine is exposed to hackers, this is a known deffect and they may be trying to do this intentionally.
#!/bin/sh
#
# disk.hogs Created 10/16/2002
# Steven E. Protter
#
# Find disk piggies..........................
#
# #!/bin/ksh
# disk_hogs.ksh
# This script will list the top 10 disk hog users in the /home/oradev
# directory, and also will list the 15 largest files in there.
du -kx / | sort -rn | more
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com