I can confirm this bug. I just came across this on Ubuntu 20.04. I
prefer the proposal by Laurent Martelli.
Summarizing the discussion, it looks like this bug can be fixed by
simply replacing the line
#NAME_REGEX="^[a-z][-a-z0-9_]*\$"
in adduser.conf by
#NAME_REGEX="^[a-z][-a-z0-9_]*$"
Be
I would suggest to use the following regexp : "^[a-z][-a-z0-9_.]*$",
since the default behaviour (when NAME_REGEXP is commented out), does
not allow a trailing $.
Bests,
Laurent
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Con
I can comfirm this bug.
This bug will effect all users tried to relax username limitation by
uncommenting the NAME_REGEX in adduser.conf
Please accept it if the patch is correct.
Sincerely,
Henry Lin
I'm writing to confirm this is a bug. I just ran into it in Ubuntu
12.04 upon uncommenting NAME_REGEX.
The existing regex requres the user name have a dollar sign in it. The
proposed regex works properly.
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data
Hi,
thanks for the response, I give update information below.
Στις 24-07-2011, ημέρα Κυρ, και ώρα 14:22 +0100, ο/η Stephen Gran
έγραψε:
> ...
> > # check user and group names also against this regular expression.
> > - -#NAME_REGEX="^[a-z][-a-z0-9_]*\$"
> > +#NAME_REGEX="^[a-z][-a-z0-9_]*\$?$"
>
tags -patch
thanks
Hi,
This one time, at band camp, Georgios M. Zarkadas said:
> The default value of variable NAME_REGEX shipped within the package's file
> /usr/share/adduser/adduser.conf (which is copied upon installation to
> etc/adduser.conf) is incorrect.
>
> current value / should-be valu
Package: adduser
Version: 3.112+nmu2
Severity: normal
Tags: patch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The default value of variable NAME_REGEX shipped within the package's file
/usr/share/adduser/adduser.conf (which is copied upon installation to
etc/adduser.conf) is incorrect.
curre
7 matches
Mail list logo