Tell us again why your aren't downloading it from l0rdphi1's server?
wget http://www.l0rdphi1.com/tools/dausertool.pl
works just fine for me...
wget http://www.l0rdphi1.com/tools/dausertool.pl
works just fine for me...
I had the same problem. It seems the script adds a newline "\n" to the end of the IP in ip.list. This is enough to cause you to receive that message. Edit the ip.list file for the user, making sure there it nothing there but the IP, then save. You may not actually be able to see the newline, as was the case for me. But make sure there were no spaces or returns after the IP was enough to get it working for me.outpernet said:When i converted an user to a reseller, then when i try to create a user from that reseller DA says:
Unable to create a User
--------------------------------------------------------------------------------
You must first own an IP
andcp: cannot stat `/usr/local/directadmin/data/templates/custom/u_welcome.txt': No such file or directory
And of course the message is correct; the file doesn't exist.chown: failed to get attributes of `/usr/local/directadmin/data/users/lashin/u_w
elcome.txt
DA_user said:I got a strange problem!!!!
I just moved a user from one reseller to another. The script gave me the following message:
Owner of `testtest' has sucessfully been changed from `reseller1' to `reseller2'.
But when I as an admin check the "show all users", the user that I just moved still belongs to the original reseller? But when I login as reseller1 it does not own the user, and when I login as reseller2 it shows ut as the owner.
So the resellers user list shows the correct info, but not the admin list?
Can anyone help me?
Okay, I think maybe the problem may have been that the show all users site is cashed by DirectAdmin - so it do not update all the time, and therefor functions like this may be a bit slow?
jmstacey said:Sounds like the cache needs to be updated.
Running this command should do the trick:
Code:echo "action=cache&value=showallusers" >> /usr/local/directadmin/data/task.queue
User testa created
Details
Unix User created successfully
User's System Quotas set
User's data directory created successfully
Domains directory created successfully
Error Creating /home/testa/domains
Parent directory does not allow write, or one of the directories didn't allow search (execution) permission
Unable to create directory /home/testa/domains/testa.com,
Parent directory does not allow write, or one of the directories didn't allow search (execution) permission
Error creating /home/testa/domains/testa.com/public_html
Parent directory does not allow write, or one of the directories didn't allow search (execution) permission
Error creating /home/testa/domains/testa.com/public_html/cgi-bin
Parent directory does not allow write, or one of the directories didn't allow search (execution) permission
Error creating /home/testa/domains/testa.com/public_html/cgi-bin/.htaccess
Unable to open /home/testa/domains/testa.com/public_html/cgi-bin/.htaccess for writing
Error creating /home/testa/domains/testa.com/private_html
Parent directory does not allow write, or one of the directories didn't allow search (execution) permission
Unable to create directory /home/testa/domains/testa.com/public_ftp,
Parent directory does not allow write, or one of the directories didn't allow search (execution) permission
Unable to create directory /home/testa/domains/testa.com/public_ftp/incoming,
Parent directory does not allow write, or one of the directories didn't allow search (execution) permission
Error Creating Domain
2006:04:24-16:36:43: Auth:assValid: unable to get user_info for minhho
2006:04:24-17:34:51: Unable to create /home/minhson/domains/minhsong.com
2006:04:24-17:34:51: Unable to copy /usr/local/directadmin/data/templates/default to /home/minhson/domains/minhsong.com/public_html : <b>Parent directory does not allow write, or one of the directories didn't allow search (execution) permission</b><br>
Unable to create the directory /home/minhson/domains/minhsong.com/public_html<br>
2006:04:24-17:34:51: Error creating ./domains/minhsong.com/public_html -> /home/minhson/public_html : Permission denied
2006:04:24-17:46:41: userdel minhson : userdel: warning: /var/spool/mail/minhson not owned by minhson, not removing
userdel: /home/minhson not owned by minhson, not removing
2006:04:24-17:47:14: Unable to create /home/minhsong/domains/minhsong.com
2006:04:24-17:47:14: Unable to copy /usr/local/directadmin/data/templates/default to /home/minhsong/domains/minhsong.com/public_html : <b>Parent directory does not allow write, or one of the directories didn't allow search (execution) permission</b><br>
Unable to create the directory /home/minhsong/domains/minhsong.com/public_html<br>
2006:04:24-17:47:14: Error creating ./domains/minhsong.com/public_html -> /home/minhsong/public_html : Permission denied
2006:04:24-18:07:04: userdel minhsong : userdel: warning: /var/spool/mail/minhsong not owned by minhsong, not removing
userdel: /home/minhsong not owned by minhsong, not removing
2006:04:24-18:07:38: Unable to create /home/minhsong/domains/minhsong.com
2006:04:24-18:07:38: Unable to copy /usr/local/directadmin/data/templates/default to /home/minhsong/domains/minhsong.com/public_html : <b>Parent directory does not allow write, or one of the directories didn't allow search (execution) permission</b><br>
Unable to create the directory /home/minhsong/domains/minhsong.com/public_html<br>
2006:04:24-18:07:38: Error creating ./domains/minhsong.com/public_html -> /home/minhsong/public_html : Permission denied
2006:04:25-08:39:13: The username hasn't been set. Won't run the script without dropping privileges
2006:04:25-09:57:41: Unable to create /home/testa/domains/testa.com
2006:04:25-09:57:41: Unable to copy /usr/local/directadmin/data/templates/default to /home/testa/domains/testa.com/public_html : <b>Parent directory does not allow write, or one of the directories didn't allow search (execution) permission</b><br>
Unable to create the directory /home/testa/domains/testa.com/public_html<br>
2006:04:25-09:57:41: Error creating ./domains/testa.com/public_html -> /home/testa/public_html : Permission denied
2006:04:25-10:00:12: userdel minhsong : userdel: warning: /var/spool/mail/minhsong not owned by minhsong, not removing
userdel: /home/minhsong not owned by minhsong, not removing
2006:04:25-10:00:12: userdel testa : userdel: warning: /var/spool/mail/testa not owned by testa, not removing
userdel: /home/testa not owned by testa, not removing
l0rdphi1 said:This is a tool that currently allows Users to be converted to Resellers, Resellers back to Users, and changing of any user's owner. See below for a full features list.
Current Version: v1.2
Last updated 2004-02-06 at 7:01 PM EST
Instructions:Features:
- wget http://www.l0rdphi1.com/tools/dausertool.pl
- perl dausertool.pl
- Follow on-screen instructions.
Have fun!
- Convert Users to Resellers
- Convert Resellers to Users
- Change the owner of users
- RH and FBSD support