[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#140757: debian-policy: init.d script shouldn't be executable by non-root



Package: debian-policy
Version: 3.5.6.0
Severity: wishlist

Problem:

When my neophyte girlfriend tries to do "/etc/init.d/gdm stop" as
non-root it does run, but says (erroneously):

  Stopping GNOME Display Manager: gdm not running.

This is obviously a permissions problem.  One solution for it would be
to disallow non-root users to run the scripts in /etc/init.d.  Thus, I
would like to see the following text appended to 10.3.2:

"
Only root should have execute permissions for the init.d scripts.
"

Newbie alert: As I have never submitted anything to debian-policy
before, if I've done some silly mistake(s) I'd like to be notified
about them nicely :-).

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux foo 2.4.17 #1 sön feb 10 09:40:14 CET 2002 i686
Locale: LANG=sv_SE.ISO8859-1, LC_CTYPE=sv_SE.ISO8859-1

Versions of packages debian-policy depends on:
ii  fileutils                     4.1-10     GNU file management utilities



-- 
To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: