Bug 870 - init.d permissions wrong
init.d permissions wrong
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
5.2
i386 Linux
low Severity low
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-01-18 15:21 EST by Steve Wills
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-01-18 16:35:12 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Steve Wills 1999-01-18 15:21:11 EST
In /etc/rc.d/init.d, gated and innd have different perms
than the reset of the init scripts:

-rwxr-xr-x   1 root     root          674 Oct 11 02:25 amd
-rwxr-xr-x   1 root     root          783 Sep 10 21:53 apmd
-rwxr-xr-x   1 root     root          725 Sep 29 20:14
arpwatch
-rwxr-xr-x   1 root     root          884 Sep 10 22:05 atd
-rwxr-xr-x   1 root     root         4211 Oct  6 20:16
autofs
-rwxr-xr-x   1 root     root          935 Sep 11 00:58
bootparamd
-rwxr-xr-x   1 root     root          883 Jun 12  1998 crond
-rwxr-xr-x   1 root     root          864 Sep 14 06:49 dhcpd
-rwxr-xr-x   1 root     root         3360 Oct 15 12:07
functions

-rwxr-x---   1 root     root         1248 Sep  4 02:34 gated

-rwxr-xr-x   1 root     root         1073 Aug 17 13:52 gpm
-rwxr-xr-x   1 root     root         1494 Oct 15 12:07 halt
-rwxr-xr-x   1 root     root         1509 Jun 17  1998 inet

-rwxr-x---   1 root     root         1512 Sep 10 03:21 innd

-rwxr-xr-x   1 root     root          875 Oct  2 01:50
kerneld
-rwxr-xr-x   1 root     root          977 Oct  2 03:47
keytable
-rwxr-xr-x   1 root     root          447 Oct 15 12:07
killall
lrwxrwxrwx   1 root     root           43 Dec  5 11:15
linuxconf ->
/usr/lib/linuxconf/redhat/scripts/linuxconf
-rwxr-xr-x   1 root     root         1074 Oct  2 00:55 lpd
-rwxr-xr-x   1 root     root          991 Aug 18 18:56
mars-nwe
-rwxr-xr-x   1 root     root         1171 Jun  8  1998
mcserv
-rwxr-xr-x   1 root     root         1046 Sep 24 02:47 named
-rwxr-xr-x   1 root     root         4372 Oct 15 12:07
network
-rwxr-xr-x   1 root     root         1768 Oct  2 19:53 nfs
-rwxr-xr-x   1 root     root         1299 Oct 15 12:07 nfsfs
-rwxr-xr-x   1 root     root         3420 Oct 13 22:41
pcmcia
-rwxr-xr-x   1 root     root          986 Jul  8  1998
portmap


Notice that gated and innd don't have read permissions for
non root users.
Comment 1 David Lawrence 1999-01-18 16:35:59 EST
This is actually like this for security reasons and unless there are
any specific bugs resulting from this will likely not change.

Note You need to log in before you can comment on or make changes to this bug.