one reseller account is not shown in my userlist

pekube

Verified User
Joined
Jan 7, 2012
Messages
11
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
#!/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:
try to add the user manually:
/usr/local/directadmin/data/users/admin/users.list
 
Hi,

Thanks for the reply, it doesn't make a difference i see. looking further
 
try to see if the user are exists
grep username /etc/passwd
if the user exists
remove the user from the system
userdel -r username
and restore backup user
 
Back
Top