- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var/adm/syslog/syslog.log permissions change afte...
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
03-06-2003 07:09 AM
03-06-2003 07:09 AM
I think it's because it creates a new syslog and copies the old one to OLDsyslog.log.
Now where does the 644 come from ? Umask 022 in /etc/profile ?? I would like to continue to have umask022 BUT i don't want to have syslog revert to 644 everytime it is rebooted. I have over 40 servers!.
Thanks, Any ideas ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 07:11 AM
03-06-2003 07:11 AM
SolutionIt gets created by the /sbin/init.d/syslogd script. That script moves the syslog to OLDsyslog at boot and creates a new syslog file. You could add a line to that script that would change the permissions of syslog back to 640. The only bad part is that your modification could get overwritten by a future patch to that script from HP.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 07:12 AM
03-06-2003 07:12 AM
Re: /var/adm/syslog/syslog.log permissions change after reboot.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 07:17 AM
03-06-2003 07:17 AM
Re: /var/adm/syslog/syslog.log permissions change after reboot.
Another startup script is the best solution or put it in the roots .profile or /etc/profile
if [ "$LOGNAME" = "root" ]
then
chmod 640 /var/adm/syslog/syslog.log
fi
First login then will fix.
Steve steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 07:19 AM
03-06-2003 07:19 AM
Re: /var/adm/syslog/syslog.log permissions change after reboot.
We have webmethods, weblogic, apache and vignette, as well as our own applications, writing messages to syslog that we monitor using ITO.
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 07:20 AM
03-06-2003 07:20 AM
Re: /var/adm/syslog/syslog.log permissions change after reboot.
just an idea ..