- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Secure OS Software for Linux
- >
- Paranoid security, bypass resetting permissions
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
Discussions
Discussions
Discussions
Forums
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
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
тАО08-26-2003 11:32 AM
тАО08-26-2003 11:32 AM
We have installed Linux (mandrake 9) with a security level of "paranoid". While this is good, it can get quite annoying. for example:
there is a cron job that appears to reset ownership of all subdirectories and files under /var to root with permisions 700 and 600 respectively.
A real pain because no other user can read anything from /var/log.
Is there a way to disable this functionality for /var/log or a subdirectory?
I suspect I could store my reports somewhere else under some /home/
Thanks &
Take care.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2003 12:17 PM
тАО08-26-2003 12:17 PM
Re: Paranoid security, bypass resetting permissions
Check in Mandrake documentation or simply grep in /etc to find the right config file.
Good luck.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2003 12:39 PM
тАО08-26-2003 12:39 PM
Re: Paranoid security, bypass resetting permissions
Most likely there will be comments and you can find and modify the offending cron job.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2003 12:14 AM
тАО08-27-2003 12:14 AM
Re: Paranoid security, bypass resetting permissions
msec by default is making this happen...
Go look in :
/usr/share/msec
and take a look at the perm.5 file. (this is if you are running msec at level 5. I think "paranoid" which is the highest level is level5.)
you will see this for /var/log:
/var/log/ root.root 711
/var/log/* root.root 600
/var/log/*/* current 600
/var/log/*/*/* current 600
/var/log/*/. current 700
Simply replace the 600 or 700 with the permission you want to set.
Them run msec 5 again and all the permission will be applied to your system.
Thanks,
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2003 12:19 AM
тАО08-27-2003 12:19 AM
Solutioninstead of changing the file in /usr/share/msec you can create the file /etc/security/msec/perm.local and set your local permission in there.
This will overwrite the change made by perm.5 and if you upgrade msec one of there days your "local" config will be kept.
Thank,
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2003 06:03 AM
тАО08-27-2003 06:03 AM
Re: Paranoid security, bypass resetting permissions
I was getting close but got sidetracked by that Python code.
Thanks all.