Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100856 - /sbin seems to be accessible to users by default
Summary: /sbin seems to be accessible to users by default
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Default Configs (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Security
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-30 18:17 UTC by Sacha Moufarrege
Modified: 2005-07-30 18:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sacha Moufarrege 2005-07-30 18:17:22 UTC
I'm using an up to date gentoo system, and it seems that my /sbin is chmodded in
such a way by default as to allow useres to run programs by entering the
absolute path. For example, my ifconfig can be accessed by users typing in
/sbin/ifconfig.
Hopefully Gentoo's /sbin security isn't relying on a lack of path. . .
I think that by default the permissions should be set in a more secure manner.


Reproducible: Always
Steps to Reproduce:
1. Type /sbin/ifconfig at the prompt
2. Play around with programs in the sbin to cause changes that shouldn't be
caused as a normal user. . .


Actual Results:  
ifconfig and whatever else are accessible

Expected Results:  
Permission denied.
Comment 1 SpanKY gentoo-dev 2005-07-30 18:21:43 UTC
the behavior you're seeing is correct