Re: user names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, 1 Jun 2020 at 13:13, Jerry Geis <jerry.geis@xxxxxxxxx> wrote:

> How can I define a local use with "@" in the name
>
> useradd "bob@myname"  gives error.
>
> I "need" to have the @ sign in the name -is that possible.   Silly reason -
> the system I am trying to send emails to the linux server has a bug. I'm
> trying to get around it.
>
>
@ is not an allowed character in most Unix logins

Allowed characters:
'a'...'z'
'A'...'Z'
'0'...'9'
'.'
'-'
'_'

$ is allowed as the last character but @ is not. To allow it you would need
to patch everything from glibc, shadow-utils, pam, systemd and email.

@ is reserved as the identifier in an email address and many utilities will
break if you have 2 @ in them.. aka user foo@xxxxxxxxxx@foobar.net is going
to cause all kinds of issues. and a user foo@xxxxxxxxxx is going to find
that many utilities strip @foobar.net and try to use the user foo.



> Thanks,
>
> Jerry
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
Stephen J Smoogen.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux