Re: adduser vs useradd
I worked it out, need to escape the @ symbol i.e.' \@'
Publish Media Pty Ltd
Glenn Hocking wrote:
I have a problem with adding users in the form of email@example.com . If
I use 'useradd' as follows
It will work most of the time but sometimes it fails with bad
username. So I tried using adduser --force-badname but this always
rejects user names with an '@' symbol.
adduser --force-badname firstname.lastname@example.org
I am running 'testing'
Haven't seen Toy Story yet so can never remember the code names :-(
Does anybody have any suggestions or comments to overcome this
problem. I have found no other problems with the user names with @
symbols that I have managed to create.
Thanks in advance,
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org