directadmin:rebuild-blank-users-list
Directadmin Rebuild Missing User List / Blank User List
Bisa dicoba
#!/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;
dan
echo 'action=cache&value=showallusers' >> /usr/local/directadmin/data/task.queue /usr/local/directadmin/dataskq d800
Layanan
Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |directadmin/rebuild-blank-users-list.txt · Last modified: 2023/11/20 01:29 by kbadmin