Hello all, i would like to change the default "admin" username. I had done it before using instructions from this KB
http://help.directadmin.com/item.php?id=193
but it created lot of problems, apache won't start and few other that i dont remember cause i had to change it back to admin. But for PCI DSS compliance i have to change it. I found these instructions from ServerTunes.com . Posted below
Can some one please verify if above instructions or correct and complete or there are instructions from DA that i have failed to locate. Please this is main admin account for DA login. Thanks
http://help.directadmin.com/item.php?id=193
but it created lot of problems, apache won't start and few other that i dont remember cause i had to change it back to admin. But for PCI DSS compliance i have to change it. I found these instructions from ServerTunes.com . Posted below
HowTo :: change DA default username "admin"
The default username to access DirectAdmin control panel is admin. If you wish to change the username admin to something else, SSH to the server and do the following:
cd /usr/local/directadmin/scripts
./change_username.sh admin NEW_USER
Replace NEW_USER with the username you want.
Using your favorite Linux editor such as pico or vi, edit the server’s shell configuration file:
vi /etc/ssh/sshd_config
Find the directive:
AllowUsers admin
Change it to:
AllowUsers NEW_USER
Save and exit. Restart the SSH service:
/sbin/service sshd restart
Edit the DirectAdmin list of allowed admins file:
vi /usr/local/directadmin/data/admin/admin.list
Change the directive with the admin username to the NEW_USER for the admin account. Save the file and exit.
We strongly suggest you run another SSH windows to make sure you can login successfully using the NEW_USER before closing your current/active SSH session.
Can some one please verify if above instructions or correct and complete or there are instructions from DA that i have failed to locate. Please this is main admin account for DA login. Thanks