Bug 870 - init.d permissions wrong
Summary: init.d permissions wrong
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 5.2
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-01-18 20:21 UTC by Steve Wills
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 1999-01-18 21:35:12 UTC
Embargoed:


Attachments (Terms of Use)

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.


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