On Mon, 1 Jun 2020 at 13:13, Jerry Geis <jerry.geis at gmail.com> wrote: > How can I define a local use with "@" in the name > > useradd "bob at 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 at foobar.net@foobar.net is going to cause all kinds of issues. and a user foo at foobar.net is going to find that many utilities strip @foobar.net and try to use the user foo. > Thanks, > > Jerry > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos > -- Stephen J Smoogen.