:: Re: [DNG] systemd allows elevated a…
Pàgina inicial
Delete this message
Reply to this message
Autor: dev
Data:  
A: Evilham, dng
Assumpte: Re: [DNG] systemd allows elevated access from unit files?


On 07/03/2017 10:17 AM, Evilham wrote:
> Am 03/07/2017 um 17:06 schrieb dev:
>> Would this be a good case to dis-allow ^0-9 by default but add a switch
>> to allow it?
>
> What's the case for disallowing those at all? names starting with a
> digit _are_ valid usernames.



useradd and adduser work differently. One allows it, the other does not.
Just thought 'why not make them work the same?'. That's all.


> Is this at all an issue in Devuan, given that we have no systemd? I
> think the fix would be more appropriate as a patch to shadow, so that
> the behaviour is consistent (e.g. usernames with dots and dashes or,
> yes, starting with a digit allowed).



Yes, seems to me it would be a patch with upstream, not Devuan. Most
likely this whole thing pointless since AD and SAMBA would break because
of changing it. :/