Secure SUID Programs Debian Linux

English

Secure SUID programs Debian Linux.

SUID, means "Set User ID" and is a special type of file permissions given to a file. When you want to use a tool like passwd command which writes on files belonging to root such as /etc/passwd and /etc/shadow, the passwd command must have this SUID permission, to enable normal users to use that command.

Secure SUID programs Debian Linux.

Take a look at all programs that have this permission and consider removing some of these permissions from unnecessary programs, that you think that the your normal user won’t need.

But be very careful !

Now type:

find / -type f -user root -perm -4000 -print

Press Enter,

A list of programs will be listed:

......

All these programs have SUID bit and normal users can run them as root.

However before meddling with some programs that needs that permission in order to work, be careful. Study first, then do it !

To remove that permission, you can use this command:

chmod a-s /bin/mount

Press Enter, done.

Tags: 

Games For Linux

Windows has always been the preferred platform for gaming, but after STEAM's interest in Linux more game developers are making their games natively available for Linux.

Disclaimer

All information on this website is published in good faith and for general educational purposes and for use in safe testing environments only. While linuxexperten.com strives to make the information on this site as accurate as possible, linuxexperten.com does not warrant its completeness, reliability and accuracy.

We are not responsible for any losses or damages associated with the use of our website. While we strive to provide only links to useful websites, we have no control over the content of these sites and links to other sites do not constitute a recommendation for all content contained on these websites.

 

Site Information

This is a professional review site that receives compensation from the companies whose products reviewed. Each service or product are thoroughly tested and given high marks if considered to be the very best. Independently owned and the opinions expressed here are no one elses.

 

Limited Time Offers

Coming soon...