Solved

Changing permissions

Posted on 2003-11-14
4
576 Views
Last Modified: 2013-12-15
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
Comment
Question by:choccarlm
  • 2
4 Comments
 
LVL 18

Expert Comment

by:liddler
ID: 9747651
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
 
LVL 24

Expert Comment

by:shivsa
ID: 9753450
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
 
LVL 24

Accepted Solution

by:
shivsa earned 125 total points
ID: 9753452
0
 

Author Comment

by:choccarlm
ID: 9762414
Thanks  a lot, it was msec that was causing the permisson change
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now