HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ln -s links disappearing!!!
Operating System - HP-UX
1836531
Members
4294
Online
110101
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
08-24-2001 09:04 AM
08-24-2001 09:04 AM
ln -s links disappearing!!!
OK, I am praying that there is a system misconfiguration, and not a security hole. BUT, I have two symbolic links, one for sar data and one for ps data. If you use sarcheck, you know what I mean.
I have cronjobs that are exporting data to files within those directories throughout the day. Every few days, the symbolic link disappears! My crontab starts complaining, and I will find the link missing.
Has anyone experience something similar? Or, if not, what is the best way to monitor the link I setup to see who is messing with it? (i.e. honeypot)
TIA - Dan
I have cronjobs that are exporting data to files within those directories throughout the day. Every few days, the symbolic link disappears! My crontab starts complaining, and I will find the link missing.
Has anyone experience something similar? Or, if not, what is the best way to monitor the link I setup to see who is messing with it? (i.e. honeypot)
TIA - Dan
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2001 09:46 AM
08-24-2001 09:46 AM
Re: ln -s links disappearing!!!
Hmmm.....??? Sounds fishy
Can you isolate it to a certain time?
Is the link owned by root?
You could right a script to check info when the link disappears???
Something like:
until [ ! -h /your/link ]
do
echo "test" > /dev/null
done
fuser -c /filesystem/of/link > /var/tmp/link.log
ps -ef >> /var/tmp/link.log
who >> /var/tmp/link.log
Don't know. I have also seen programs that try to clean up after themselves and remove the links and create directories. If the links are owned by root, I would also check with the other SAs that know the password.
...jcd...
Can you isolate it to a certain time?
Is the link owned by root?
You could right a script to check info when the link disappears???
Something like:
until [ ! -h /your/link ]
do
echo "test" > /dev/null
done
fuser -c /filesystem/of/link > /var/tmp/link.log
ps -ef >> /var/tmp/link.log
who >> /var/tmp/link.log
Don't know. I have also seen programs that try to clean up after themselves and remove the links and create directories. If the links are owned by root, I would also check with the other SAs that know the password.
...jcd...
If I had only read the instructions first??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2001 06:24 AM
08-28-2001 06:24 AM
Re: ln -s links disappearing!!!
Hi Dan
Did you find anything so far?
I also have seen this twice so far on my system.
This is my guess-
I also have softlink to /var/adm/sa dir and every mid-night the cron (/usr/lib/sa/sa2) runs to generates the sar reports and also deleted files older than 30 days in /var/adm/sa directoty. I guess this is what deleting the link. I have modified the sa2 file to search in the actual directory instead of soft-link place(/var/adm/sa)
See if it helps.
Thanks.
Prashant Deshpande.
Did you find anything so far?
I also have seen this twice so far on my system.
This is my guess-
I also have softlink to /var/adm/sa dir and every mid-night the cron (/usr/lib/sa/sa2) runs to generates the sar reports and also deleted files older than 30 days in /var/adm/sa directoty. I guess this is what deleting the link. I have modified the sa2 file to search in the actual directory instead of soft-link place(/var/adm/sa)
See if it helps.
Thanks.
Prashant Deshpande.
Take it as it comes.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP