View Full Version : Changing unix username
petermachell
18th March 2006, 16:08
I am comparing ISPConfig with my existing Syscp setup.
If I am to transition, to make the change transparent I need to make the unix usernames user@domain
I've worked out how to do this manually in the database, in /etc/passwd and shadow and the postfix virtusertable
Is there an easier way to do this?
thanks,
Peter.
falko
18th March 2006, 23:56
Linux does not allow the '@' sign in system usernames.
If other control panels use it, it means that they're using virtual users, not system users.
petermachell
19th March 2006, 13:27
Thanks for that, of course you are right Falko. Looks like I'll leave the syscp server as it is and use ispconfig for new customers.
cheers,
Peter.
Rustin
21st November 2006, 03:56
Hey Falko,
I'm running debian 3.1 sarge and am able to do a useradd with an @ in the username.
I was also able to ssh into the account with the -l option (as user@domain@site.com wont work):
ssh -l test@test.com hostingsite.com
My /etc/passwd looks as follows:
test@test.com:x:10004:100::/home/test@test.com:
Would it be difficult to change the user format to _____@[DOMAIN]? Is there something else I might be breaking?
thanks in advance,
rustin
till
21st November 2006, 12:26
Would it be difficult to change the user format to _____@[DOMAIN]? Is there something else I might be breaking?
You can try that, but you most likely will break FTP and email functions on your server.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.