Further clarification of the usage of run_init in the manual page
PATCH 1/1 Further clarification of the usage of run_init in the manual page
It's a very minor thing really, but I believe (on the basis of an off-list question) that the manual page for policycoreutils/run_init can be improved by the following short patch which aims to further clarify the intended usage of such tool and mention that it caters for one (somewhat hidden) compile-time option.
policycoreutils/run_init/run_init.8 2011-06-09 23:06:53.350242852 +0200 renamed from policycoreutils/run_init/run_init.8 2011-05-09 01:04:17.075842476 +0200 +2 -0
@@ -9,6 +9,8 @@ run_init \- run an init script in the pr .PP Run a init script under the proper context, which is specified in /etc/selinux/POLICYTYPE/contexts/initrc_context. +It is generally used interactively as it requires either shadow or +PAM user authentication (depending on compile-time options). .SH FILES /etc/passwd - user account information .br
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Patch added to my 'soon to be in fedora' tree. I hope to slowly move everything from my tree into the upstream tree and review from others is done.
side note: I tend to add pam_rootok to run_init so I don't have to be interactive.
-Eric
Quoted 21 lines · Guido Trentalancia
It's a very minor thing really, but I believe (on the basis of an off-list question) that the manual page for policycoreutils/run_init can be improved by the following short patch which aims to further clarify the intended usage of such tool and mention that it caters for one (somewhat hidden) compile-time option.
diff -pruN selinux-09062011/policycoreutils/run_init/run_init.8 selinux-09062011-run_init-auth-manpage/policycoreutils/run_init/run_init.8
policycoreutils/run_init/run_init.8 2011-06-09 23:06:53.350242852 +0200 renamed from policycoreutils/run_init/run_init.8 2011-05-09 01:04:17.075842476 +0200 +0
-0@@ -9,6 +9,8 @@ run_init \- run an init script in the pr.PP
Run a init script under the proper context, which is specified in/etc/selinux/POLICYTYPE/contexts/initrc_context.policycoreutils/run_init/run_init.8 2011-06-09 23:06:53.350242852 +0200 renamed from policycoreutils/run_init/run_init.8 2011-05-09 01:04:17.075842476 +0200 +2
-0+It is generally used interactively as it requires either shadow or +PAM user authentication (depending on compile-time options)..SH FILES
/etc/passwd - user account information
.br
Quoted 5 lines
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Hi Eric,
thanks very much for your time.
Quoted 6 lines · Eric Paris
Patch added to my 'soon to be in fedora' tree. I hope to slowly move everything from my tree into the upstream tree and review from others is done.
side note: I tend to add
pam_rootoktorun_initso I don't have to be interactive.
It's a nice idea/tip which could be potentially appreciated by many and therefore I'd be quite keen to create a new patch and add a note about it to the manual page, if it wasn't for the uncertainty of what would happen if one day the pam_rootok module disappears, changes its name or whatever else. At the end it's an external dependency that has nothing to do with SELinux...
Quoted 1 line
-Eric
Regards,
Guido
Quoted 23 lines
Quoted 21 lines · Guido Trentalancia
It's a very minor thing really, but I believe (on the basis of an off-list question) that the manual page for policycoreutils/run_init can be improved by the following short patch which aims to further clarify the intended usage of such tool and mention that it caters for one (somewhat hidden) compile-time option.
diff -pruN selinux-09062011/policycoreutils/run_init/run_init.8 selinux-09062011-run_init-auth-manpage/policycoreutils/run_init/run_init.8
policycoreutils/run_init/run_init.8 2011-06-09 23:06:53.350242852 +0200 renamed from policycoreutils/run_init/run_init.8 2011-05-09 01:04:17.075842476 +0200 +2
-0@@ -9,6 +9,8 @@ run_init \- run an init script in the pr .PP Run a init script under the proper context, which is specified in /etc/selinux/POLICYTYPE/contexts/initrc_context. +It is generally used interactively as it requires either shadow or +PAM user authentication (depending on compile-time options). .SH FILES /etc/passwd - user account information .br
Quoted 6 lines
Quoted 5 lines
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.