M
MaRiOs
Guest
I have added this event :
On Physical hosting created
do run this :
/usr/local/psa/bin/protdir.sh -c locked -domain <new_domain_name> -type both -add_user <new_system_user> -passwd <new_system_user_password> -title "ssh key generator"
the folder is created fine....
the bad thing is it wont take the password of the ftp (the one you put when you create a new hosting)
so I used this line in another script
echo "domain: $1" >> /tmp/event_handler.log # information on the created client account
echo "login: $2" >> /tmp/event_handler.log # information on the created client account
echo "pass: $3" >> /tmp/event_handler.log # information on the created client account
to See what login and password takes and I see this :
the domain is right... the login is right..
but as password I get xxxxx
so I try to login into the password protected folder and i can login only with the right username and the xxxxx password and not the real one.
On Physical hosting created
do run this :
/usr/local/psa/bin/protdir.sh -c locked -domain <new_domain_name> -type both -add_user <new_system_user> -passwd <new_system_user_password> -title "ssh key generator"
the folder is created fine....
the bad thing is it wont take the password of the ftp (the one you put when you create a new hosting)
so I used this line in another script
echo "domain: $1" >> /tmp/event_handler.log # information on the created client account
echo "login: $2" >> /tmp/event_handler.log # information on the created client account
echo "pass: $3" >> /tmp/event_handler.log # information on the created client account
to See what login and password takes and I see this :
the domain is right... the login is right..
but as password I get xxxxx
so I try to login into the password protected folder and i can login only with the right username and the xxxxx password and not the real one.