:: Re: [DNG] systemd allows elevated a…
Forside
Slet denne besked
Besvar denne besked
Skribent: Giovanni Rapagnani
Dato:  
Til: dng
Emne: Re: [DNG] systemd allows elevated access from unit files?


On 04/07/17 03:52, Hendrik Boom wrote:
> On Mon, Jul 03, 2017 at 10:45:29AM -0500, dev wrote:
>> On 07/03/2017 10:40 AM, Evilham wrote:
>> <snip>
>>
>>> That's the thing, we can do that :-) probably should, but the "right
>>> way" (from a standards point of view) would be to actually allow those
>>> names ^^ not to disallow them. So instead of modifying the way useradd
>>> works, the way adduser works should be fixed (so, shadow).
>>
>> That was easy ;) Seems to be a flag for that.
>
> But they should work without the flag. The flag will allow usernames
> that are *really* questinoable.


the flag will only disable the check against NAME_REGEX defined in
/etc/adduser.conf. The flag will not permit to create usernames starting
with dash or containing invalid characters (ie not in [-0-9a-z_]) .

--
Giovanni