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 firstname.lastname@example.org . 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 email@example.com
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 firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com