Forgot your password?
typodupeerror

Comment Security and installed programs (Score 1) 335

Actually, having the compiler and tools installed isn't a security problem. Having X installed is, but the reasons for that are not clear from your post.

The OS is responsible for making sure that all code run by a user is subject to the security restrictions placed on that user. Barring bugs in the kernel (or processor) the ability to compile code gains nothing for the user.

That leaves having another user run code on your behalf. This includes: SUID/SGID programs with buffer overflows, insecure services and trojans.

Thus, X is insecure because it includes programs that are SUID/SGID or run as root and are linked against Xlib, which contains many exploitable bugs.

If you are interested in knowing what programs may be most vulnerable, use ps to see what root is running, and find to locate SUID/SGID programs.

ps is also usefull to determine the contents of the PATH variable for processes running as root. Make sure no directories in root's path are writeable by anyone but root! This would allow users to produce trojans easily.

Slashdot Top Deals

"Nature is very un-American. Nature never hurries." -- William George Jordan

Working...