Users can modify tier own path. Leaving it out of the default doesn't prevent malicious use. Putting it in the default makes the admins job slightly easier. On Nov 8, 2013 6:07 AM, "Jonathan Bayer" <[email protected]> wrote:
> We exclusively run either Redhat or Centos, and are slowly migrating to > release 6. > > This question was raised because a user on one of our CentOS 6 systems had > a problem: > > I got a question from a user today, as to why a particular command didn't > work. When I looked into it, I realized that he shouldn't have been able > to run it at all because the command was in /sbin. > > Then I found that even for normal users, the three sbin directories > (/usr/local/sbin:/usr/sbin:/sbin) are in their path. > > Anyone know why that is so? I don't see anything in those directories > which aren't system binaries or something used by an adminiatrator aka root > user. > > Thanks > > > JBB > _______________________________________________ > Discuss mailing list > [email protected] > https://lists.lopsa.org/cgi-bin/mailman/listinfo/discuss > This list provided by the League of Professional System Administrators > http://lopsa.org/ >
_______________________________________________ Discuss mailing list [email protected] https://lists.lopsa.org/cgi-bin/mailman/listinfo/discuss This list provided by the League of Professional System Administrators http://lopsa.org/
