Changing unix username

Discussion in 'General' started by petermachell, Mar 18, 2006.

  1. petermachell

    petermachell New Member

    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?

  2. falko

    falko Super Moderator ISPConfig Developer

    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.
  3. petermachell

    petermachell New Member

    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.

  4. Rustin

    Rustin New Member

    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 wont work):
    ssh -l
    My /etc/passwd looks as follows:

    Would it be difficult to change the user format to _____@[DOMAIN]? Is there something else I might be breaking?

    thanks in advance,
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    You can try that, but you most likely will break FTP and email functions on your server.

Share This Page