View previous topic :: View next topic |
Author |
Message |
DawgG l33t
Joined: 17 Sep 2003 Posts: 874
|
Posted: Wed Apr 20, 2016 3:07 pm Post subject: define allowed format of usernames - login.defs does not wrk |
|
|
on my systems i need usernames in the format
NN.NNN.NNN-N
(N=0-9)
useradd won't accept usernames in this format and /etc/login.defs has no setting for the allowed format/chars. Adding the entry CHARACTER_CLASS produces a configuration error (i tried shadow with and without USE="pam")
How to change the allowed format of the usernames?
Yes, i know it's not a good idea and non-standard and dangerous and trouble-prone - but i still need it.
(sorry for double-posting https://forums.gentoo.org/viewtopic-p-7909466.html but a quick solution would be much appreciated)
THX for your help! _________________ DUMM KLICKT GUT. |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2740 Location: Here and Away Again
|
Posted: Wed Apr 20, 2016 4:34 pm Post subject: |
|
|
Moved from Networking & Security to Duplicate Threads in the favour of define allowed format of usernames - login.defs does not wrk.
Also split two posts from here, merging them with aforementioned topic.
There can be only one. ^^ _________________ Kindest of regardses. |
|
Back to top |
|
|
|