Scripts to change Cpanel password of all Users In the Server,
1) Login to the server as root
2) Run the following Command ,
# for i in `cat /etc/trueuserdomains | awk '{print $2}'` ; do j=$(openssl rand -base64 10); /scripts/chpass $i $j; echo "$i : $j" >> /root/accountdetails; done
3) That's it .. :-)
Note: This command will change all user's cpanel password instantly ,please be beware before using it.
thanks to sanju jagan for this Script. :-)
No comments:
Post a Comment