The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change username

Discussion in 'General Discussion' started by freddo, Jul 3, 2008.

  1. freddo

    freddo Member

    Joined:
    Feb 19, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Vienna
    Hi,
    I messed up a bit, and now I wonder, which file(s) gets changed when you edit the username with the function "modify an account" in WHM.

    Thanks for your help
    freddo
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    It will modify the entry for the new username in below files:

    /etc/passwd
    /etc/shadow
    /etc/group
    /etc/gshadow

    Update quotas
    `/etc/proftpd/oldusername' -> `/etc/proftpd/newusername'
    `/var/cpanel/users/oldusername' -> `/var/cpanel/users/newusername'
    `/home/oldusername' -> `/home/newusename
     
  3. freddo

    freddo Member

    Joined:
    Feb 19, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Vienna
    Thanks a lot!!:)
     
  4. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    My pleasure! :)
     
Loading...

Share This Page