"Michael R. Wayne" wrote:
>
> Recommendation:
> A number of the executables located in /sbin and /usr/sbin are
> never going to be invoked for any legitimate use by anyone other
> than the superuser. In particular, servers such as portmap and
> inetd run by non-root users are unlikely to do what was intended.
> It seems a prudent measure to simply not set execute permission
> by "other" on such programs during the install, giving the user
> a handy "Permission denied" message when such an attempt is made.
>
> For those reading quickly, I am NOT recommending removing execute
> permission on ALL of /sbin/* and /usr/sbin/*, only on programs
> such as "portmap", "inetd", "lpd", "syslogd", "halt", "reboot"
> and others which perform no useful function to normal users.
> /sbin/init already enforces this condition, how about expanding it?
Setup jail instead.
--
Daniel C. Sobral (8-DCS)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
"There is no spoon." -- Kiki
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
- Re: Protections on inetd (and /sbin/* /usr/sbin/* in ... Dima Dorfman
- Re: Protections on inetd (and /sbin/* /usr/sbin/* in ... Walter W. Hop
- Re: Protections on inetd (and /sbin/* /usr/sbin/... Peter Pentchev
- Re: Protections on inetd (and /sbin/* /usr/s... David Malone
- Re: Protections on inetd (and /sbin/* /u... Peter Pentchev
- Re: Protections on inetd (and /sbin/* /usr/s... Aleksandr A.Babaylov
- Re: Protections on inetd (and /sbin/* /u... mouss
- Re: Protections on inetd (and /sbin/... Matt Dillon
- Re: Protections on inetd (and /... Dag-Erling Smorgrav
- Re: Protections on inetd (and /sbin/* /usr/sbin/... mouss
- Re: Protections on inetd (and /sbin/* /usr/sbin/* in ... Daniel C. Sobral
- Re: Protections on inetd (and /sbin/* /usr/sbin/* in ... Gordon Tetlow
- Re: Protections on inetd (and /sbin/* /usr/sbin/... Dag-Erling Smorgrav
- Re: Protections on inetd (and /sbin/* /usr/s... Tony Finch
- Re: Protections on inetd (and /sbin/* /u... Dag-Erling Smorgrav
- Re: Protections on inetd (and /sbin/... Andy Farkas

