Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '/Private is wrong and a warning' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
/Private is wrong and a warning
Authored by: a1291762 on Apr 30, '02 05:50:41PM

/Private should be /private (at least on my system). Of course you could just use /etc/motd...

Not for a warning... If you leave the file writable (even if by root) then theres a chance somebody will be able to write to it and have that code executed as root by cron. It's a small security risk but it's still a risk.

chmod 555 that file so that everyone can read and execute but nobody can write. If you need to make a change, you may have to chmod 755 first.



[ Reply to This | # ]