Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
define allowed format of usernames - login.defs does not wrk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 874

PostPosted: Wed Apr 20, 2016 3:07 pm    Post subject: define allowed format of usernames - login.defs does not wrk Reply with quote

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
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2740
Location: Here and Away Again

PostPosted: Wed Apr 20, 2016 4:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum