Hi There,
I`m currently using :
WHM 6.0.0
Cpanel 6.0.0-S109
RedHat 7.2
Problem description :
When we (or reseller) create a new account, the directories aren't created with the proper owner search as :
- public_html
- public_ftp
- www
..... because the wwwacct script complains the user does not exist. The is an example of the WHM output on new account creation
WWWAcct 6.0 by J. Nick Koston
+===================================+
| New Account Info |
+===================================+
| Domain: testdroit2.com
| Ip: xx.xx.xx.xx (y)
| HasCgi: y
| UserName: mydroit
| PassWord: 538rnc
| CpanelMod: bonbon
| HomeRoot: /home
| Quota: 15 Meg
| NameServer1: ns1.xxxx.xxx| NameServer2: ns2.xxxx.xxx| NameServer3:
| NameServer4:
+===================================+
User mydroit added
Removing Shell Access
chsh: user "mydroit" does not exist.
Usage: editquota at /scripts/editquota line 12.
chown: `mydroit:root': invalid user
chown: `mydroit:root': invalid user
chown: `mydroit': invalid user
chown: `mydroit:root': invalid user
chown: `mydroit:root': invalid user
chown: `mydroit:root': invalid user
chown: `mydroit:root': invalid user
chown: `mydroit:mail': invalid user
Adding Name Virtual Host Entry
Added Entries to httpd.conf (ip)
chown: `mydroit:mail': invalid user
chown: `mydroit:mail': invalid user
Adding Proftpd conf entry
Added DomainAlias Entry
Added Named Entry
Added Named File
Restarting NameServer
Restarting apache
Restarting proftpd
Syntax Mismatch
Invalid Username.
send to CONTACTEMAIL (3) [3]
skip CONTACTUIN (2) [3]
Ftp Password Files synced
wwwacct creation finished
Account Creation Complete!!!
Vhost Passwords synced
We have to change the directory owner manually by SSH :
root@jour [/home/mydroit]# ls -l
total 24
drwx--x--x 5 mydroit mydroit 4096 Mar 11 14:54 ./
drwxr-xr-x 384 root root 8192 Mar 11 14:54 ../
drwxr-x--- 2 mydroit mail 4096 Mar 11 14:54 mail/
drwxr-x--- 3 root root 4096 Mar 11 14:54 public_ftp/
drwxr-xr-x 3 root root 4096 Mar 11 14:54 public_html/
lrwxrwxrwx 1 root root 11 Mar 11 14:54 www -> public_html/
A ticket have been send to the Cpanel Team, We are the only one with this problem ?
Regards,
Dany Boucher



LinkBack URL
About LinkBacks
Reply With Quote






