LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 07-31-2003, 12:54 AM   #1
enlight1
Member
 
Registered: Jun 2003
Distribution: Fedora 3
Posts: 82

Rep: Reputation: 15
/usr/bin file permissions


Mandrake recently had a security issue regarding file permisions being set wrong on some files. I was curious, what should the permissions be on all the executables in /usr/sbin usually. I noticed several that looked like executable by others was set.
 
Old 07-31-2003, 12:37 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Most of the files will be set to -rwxr-xr-x and most of them will have root as owner and group.
You may want to restrict execute on some files, but not all.

If Mandrake issued a security warning, most likely they also released a patch. Use that instead.

In the end, most of the files are GUI software like Mozilla and the rest of them must be run as root.
Even if a user were to run one of these programs, they can't do anything, since all the configuration files (/etc) are only writable as root.
 
Old 07-31-2003, 09:16 PM   #3
enlight1
Member
 
Registered: Jun 2003
Distribution: Fedora 3
Posts: 82

Original Poster
Rep: Reputation: 15
Thankyou, I did install the updates.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 09:30 PM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 02:02 AM
sh: line 1: /usr/bin/(swapd): No such file or directory QtCoder Linux - General 4 04-11-2005 06:33 PM
bin/bash:usr/bin/lpr NO SUCH FILE OR DIRECTORY Adibe_Hamm Linux - Newbie 3 10-14-2003 03:30 AM
/usr/bin permissions in Mandrake 8.0 pr0digy Linux - Newbie 3 10-20-2002 07:06 PM


All times are GMT -5. The time now is 05:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration