Gentoo Archives: gentoo-hardened

From: Chris PeBenito <pebenito@g.o>
To: Christian Heim <heim@××××××××××××××.de>
Cc: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] mysql-4.0.22 asking to "Authenticating root"
Date: Sat, 06 Nov 2004 15:28:30
Message-Id: 1099754850.9446.12.camel@chris.pebenito.net
In Reply to: [gentoo-hardened] mysql-4.0.22 asking to "Authenticating root" by Christian Heim
1 On Sat, 2004-11-06 at 12:37 +0100, Christian Heim wrote:
2 > But as it seems, noone actually tried to install mysql-4.0.22 on a SELinux
3 > machine. The Problem is, mysql init.d script is generally asking for the root
4 > password, to authenticate the root user.
5
6 This is the expected behavior for all services...
7
8 > Is there a possibility to change this to the behaviour like sshd (which isn't
9 > asking after root's password to start/stop/restart)
10
11 and this is a broken behavior. Service start/stop requires a SELinux
12 identity change to system_u, so the init scripts run in the right
13 context. Since SELinux identities are not supposed to change, it is a
14 privileged operation, and thats why the user is authenticated. You can
15 adjust the run_init pam settings to change the authentication behavior,
16 to make wheel group or root sufficient for example, but its not
17 suggested for production systems.
18
19 --
20 Chris PeBenito
21 <pebenito@g.o>
22 Developer,
23 Hardened Gentoo Linux
24 Embedded Gentoo Linux
25
26 Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE6AF9243
27 Key fingerprint = B0E6 877A 883F A57A 8E6A CB00 BC8E E42D E6AF 9243

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-hardened] mysql-4.0.22 asking to "Authenticating root" Christian Heim <heim@××××××××××××××.de>