[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 590
  • Last Modified:

Changing permissions

Hi, Im running Mandrake 9.2 and I've come across somehthing strange, permissions and ownership of files changing on their own. I set /usr/sbin/sendmail to be root.root and 4555, but after a while (not sure how long, I set the permissions at night and the next morning they've been changed back) they are set back to what they were originally.

What could be causing this and how do I stop it as it's casuing my webmail to stop working.

Thanks
0
choccarlm
Asked:
choccarlm
  • 2
1 Solution
 
liddlerCommented:
How about installing a file system monitoring tool like Tripwire (www.tripwire.com) -not free or AIDE (http://www.cs.tut.fi/~rammer/aide.html)
0
 
shivsaCommented:
did u setup msec. if yes then it may be the culprit.
The Mandrake-Security package msec is a system that goes around tying up loose ends.  You might want
to check the cron jobs running msec scripts and see.  Usually under the
higher security levels it changes permissions on certsain types of files
that would otherwise be gateways for intrusion.  You may need to
customize the script a little to avoid what you want to leave open.

Also check root's mail.  YOu should have been notified there as this
permission was changed.
0
 
shivsaCommented:
0
 
choccarlmAuthor Commented:
Thanks  a lot, it was msec that was causing the permisson change
0

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now