Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Feb 2003
    Location
    Vienna
    Posts
    11

    Default Change username

    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. #2
    Member
    Join Date
    May 2008
    Posts
    1,203

    Default

    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. #3
    Member
    Join Date
    Feb 2003
    Location
    Vienna
    Posts
    11

    Default

    Thanks a lot!!

  4. #4
    Member
    Join Date
    May 2008
    Posts
    1,203

    Default

    Quote Originally Posted by freddo View Post
    Thanks a lot!!
    My pleasure!

Similar Threads & Tags
Similar threads

  1. Cannot change Username
    By vKios in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-10-2011, 11:31 PM
  2. Replies: 3
    Last Post: 12-20-2010, 06:46 AM
  3. Change My Username
    By cLub2Share in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-02-2006, 04:17 AM
  4. Change username
    By WillyMore in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-20-2004, 04:24 AM
  5. how to change username ?
    By sanam in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-31-2002, 01:14 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube