Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 1996 01:27:29 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-hackers@FreeBSD.ORG, j@uriah.heep.sax.de
Subject:   Re: /sbin/init permission
Message-ID:  <199610151527.BAA14633@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> -r-sr-x---  1 root  operator   12288 Oct  2 04:26 /sbin/shutdown
>
>This one makes sense: any member of group `operator' is allowed to
>shutdown the system, but nobody else.

It makes no sense for it to be unreadable.

>> ---s--x--x  2 root  bin       286720 Oct  2 04:19 /usr/bin/sperl4.036
>> ---s--x--x  2 root  bin       286720 Oct  2 04:19 /usr/bin/suidperl
>
>Old paranoia.  SysV UUCP's used to ship with this set of permissions,
>too.  Basically useless if /usr/src is also on the system. :)

Really if the user can files and execute chmod.

>> -r-sr-x---  1 uucp  uucp       90112 Oct  2 04:09 /usr/libexec/uucp/uuxqt
>
>Seems to make sense.

It makes no sense for it to be unreadable, and its nonreadability and
nonexecutability by `other' breaks the usability of an nfs-mounted /usr
(for the rare case that root wants to run this directly).  (If it were
only readable, then root could copy it and run the copy.)

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610151527.BAA14633>