Bug 870

Summary: init.d permissions wrong
Product: [Retired] Red Hat Linux Reporter: Steve Wills <steve>
Component: initscriptsAssignee: David Lawrence <dkl>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-01-18 21:35:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Steve Wills 1999-01-18 20:21:11 UTC
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 21:35:59 UTC
This is actually like this for security reasons and unless there are
any specific bugs resulting from this will likely not change.