Dear forumers,
I have the following issue, After a recent crash i had to restore all the users and reseller to my server, now one og the resellers is after i restored not showing in the list of resellers. i Can see the users of that reseller end when i click show all users, then i can see the reseller as creator, and also edit the reseller. But now i need to move some users to that reseller and then it is not shown in the list.
I tried to restore the reseller once again and made no difference.
Any ideas what i can do to solve this.
--edit --
tried this too: http://help.directadmin.com/item.php?id=251
Peter
I have the following issue, After a recent crash i had to restore all the users and reseller to my server, now one og the resellers is after i restored not showing in the list of resellers. i Can see the users of that reseller end when i click show all users, then i can see the reseller as creator, and also edit the reseller. But now i need to move some users to that reseller and then it is not shown in the list.
I tried to restore the reseller once again and made no difference.
Any ideas what i can do to solve this.
--edit --
tried this too: http://help.directadmin.com/item.php?id=251
#!/bin/sh
cd /usr/local/directadmin/data/users
for r in `ls */reseller.conf | cut -d/ -f1`; do
{
echo "fixing Reseller $r ...";
echo -n '' > $r/users.list
for u in `grep "^creator=$r$" */user.conf | cut -d/ -f1`; do
{
ISUSER=`grep -c usertype=user $u/user.conf`
if [ "$ISUSER" = "1" ]; then
echo $u >> $r/users.list
fi
};
done;
};
done;
Peter
Last edited: