can anybody tell me how to create a ubuntu user with having '@'. With help of bellow link I found how to add period in username but haven't found any clue for '@' yet.
Asked
Active
Viewed 173 times
1 Answers
2
not sure why you would want to use such character in the user name, but here is one way (for username foo@t):
# useradd -m foo@t
# /bin/su - foo@t
$ id
uid=22284(foo@t) gid=22284(foo@t) groups=22284(foo@t)
then to set a password
# passwd foo@t
to delete such user (and all her/his files):
# userdel -r foo@t
muru
- 207,228
Ante Gabrielssen
- 306