<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">On 07/10/2014 03:10 PM, Reindl Harald
wrote:<br>
</div>
<blockquote cite="mid:53BEACDD.1090809@thelounge.net" type="cite">
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;"
lang="x-unicode">
<pre wrap="">Am 10.07.2014 16:59, schrieb Jóhann B. Guðmundsson:
</pre>
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">> </span>On 07/10/2014 12:51 PM, Zbigniew Jędrzejewski-Szmek wrote:
</pre>
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">>> </span>An administrator might want to block a certain sysusers config file from
<span class="moz-txt-citetags">>> </span>being executed, e.g. to block the creation of a certain user.
<span class="moz-txt-citetags">>> </span>---
<span class="moz-txt-citetags">>> </span> src/sysusers/sysusers.c | 2 ++
<span class="moz-txt-citetags">>> </span> 1 file changed, 2 insertions(+)
<span class="moz-txt-citetags">>></span>
<span class="moz-txt-citetags">>> </span>diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c
<span class="moz-txt-citetags">>> </span>index 129493a1e7..68c552d24a 100644
<span class="moz-txt-citetags">>> </span>--- a/src/sysusers/sysusers.c
<span class="moz-txt-citetags">>> </span>+++ b/src/sysusers/sysusers.c
<span class="moz-txt-citetags">>> </span>@@ -62,6 +62,8 @@ typedef struct Item {
<span class="moz-txt-citetags">>> </span> static char *arg_root = NULL;
<span class="moz-txt-citetags">>> </span> static const char conf_file_dirs[] =
<span class="moz-txt-citetags">>> </span>+ "/etc/sysusers.d\0"
<span class="moz-txt-citetags">>> </span>+ "/run/sysusers.d\0"
<span class="moz-txt-citetags">>> </span> "/usr/local/lib/sysusers.d\0"
<span class="moz-txt-citetags">>> </span> "/usr/lib/sysusers.d\0"
<span class="moz-txt-citetags">>> </span> #ifdef HAVE_SPLIT_USR
</pre>
</blockquote>
<pre wrap=""><span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>How does this handle multiple users and if I as an administrator I wanted to
<span class="moz-txt-citetags">> </span>block some users from being created I simply would not have installed the
<span class="moz-txt-citetags">> </span>component that created him in the first place no?
</pre>
</blockquote>
<pre wrap="">you sound like it is always clear what package, probably installed as
dependency creates a user before - not speaking about that most packages
due uninstall don't remove the users created in rpm scripts
</pre>
</div>
</blockquote>
<br>
If you are an administrator you will quickly notice or do the
necessary research into what created the user that you dont want
installed on your system and take the necessary precaution from that
happening again.<br>
<br>
And arguable upstream should not be binding itself to solve
downstream distribution packaging problems be it rpm, be it deb or
something else since the installation scene is on the verge of
changing...<br>
<br>
JBG<br>
</body>
</html>