The officially official Devuan Forum!

You are not logged in.

#1 2020-08-25 10:21:08

Alexey Kor
Member
Registered: 2020-08-25
Posts: 2  

Dot in login

Is it normal for Devuan to be unable to enter a username containing a dot?

Offline

#2 2020-08-25 13:38:01

HevyDevy
Member
Registered: 2019-09-06
Posts: 358  

Re: Dot in login

Alexey Kor wrote:

Is it normal for Devuan to be unable to enter a username containing a dot?


This is what i get when i try to add a username with a dot.

~ > sudo adduser john.doe
[sudo] password for user1:
adduser: Please enter a username matching the regular expression configured
via the NAME_REGEX configuration variable.  Use the `--force-badname'
option to relax this check or reconfigure NAME_REGEX.

So default from installer would most likely not allow it, but you could perhaps do it manually after install.

Just reading up on this and it is due to POSIX compliance.

Have a read here: https://paulgorman.org/technical/presen … ntions.pdf

quite an interesting read.

Last edited by HevyDevy (2020-08-25 13:42:46)

Offline

#3 2020-08-28 06:37:25

Alexey Kor
Member
Registered: 2020-08-25
Posts: 2  

Re: Dot in login

Old standards are like a story with appendicitis - it is there, no one knows why, but it's okay because I was born with it ...

Last edited by Alexey Kor (2020-08-28 06:41:15)

Offline

#4 2020-08-28 13:36:48

HevyDevy
Member
Registered: 2019-09-06
Posts: 358  

Re: Dot in login

Old standards (POSIX) are like a blockage in the lining of the appendix? Not sure i understand your point clearly?

Last edited by HevyDevy (2020-08-28 13:37:14)

Offline

#5 2020-08-29 10:33:31

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 1,000  
Website

Re: Dot in login

Alexey Kor wrote:

no one knows why

Well the reason for not allowing a regex symbol in the user name seems pretty clear to me.

EDIT: and if you mean the appendix then it's a vestigial organ that is used to digest non-starch polysaccharides in ruminants but we use it as a storage area for commensal micro-organisms.

Last edited by Head_on_a_Stick (2020-08-29 10:52:44)


Black Lives Matter

Offline

Board footer