View Single Post
Old 3rd November 2011, 08:23
smartyscripts smartyscripts is offline
Junior Member
Join Date: Nov 2011
Posts: 9
Thanks: 0
Thanked 15 Times in 5 Posts
Default ispconfig3 plus centos 5.6 unable to add websites

Hi to all I am new here, i been working with ispconfig3 in my local server with no problems, I just bought a godaddy dedicated server so it came with centos 5.6 , i proceed to install The Perfect Server CentOS 5.6 x86_64 i did everything just the way..
but when I installed ispconfig there was a problem

the ispconfig user was never added so i have to added manualy, plus another user appaps , well I did the proper permisions to the user end finally got running, but when i create a new website the user web etc never gets created so i have to create it manually too, I use this.

useradd web4 -g client1 -b /var/www/clients/client1 -s /bin/false
chown -R web1.client1 /var/www/clients/client1/web1

I google with no luck but i did found something the install does this
$command = "useradd -g ispconfig -d $install_dir ispconfig";

but in centos 5.6 doesnt recognize that command
it has to start li this /usr/sbin/useradd

so my question is how can I edit and where to change this
useradd -g ispconfig
for this
/usr/sbin/useradd -g ispconfig
so the user can get created everything works good exept for this I had to add the new users manually all that time,
any help will be appreciated ...

thanks in advance

Reply With Quote
Sponsored Links