Page 1 of 1

admin password reset not working

Posted: Thu Nov 07, 2019 3:59 pm
by youradds
Hi,

On a fresh install, I tried setting the password to yQ4=EGRz>%r3 but for some reason it won't let me log in. I'm trying to reset but it doesn't seem to work:
sudo /usr/local/vesta/bin/v-change-user-password
/usr/local/vesta/bin/v-change-user-password: line 17: /func/main.sh: No such file or directory
/usr/local/vesta/bin/v-change-user-password: line 18: /conf/vesta.conf: No such file or directory
/usr/local/vesta/bin/v-change-user-password: line 25: check_args: command not found
/usr/local/vesta/bin/v-change-user-password: line 26: is_format_valid: command not found
/usr/local/vesta/bin/v-change-user-password: line 27: is_object_valid: command not found
/usr/local/vesta/bin/v-change-user-password: line 28: is_object_unsuspended: command not found
/usr/local/vesta/bin/v-change-user-password: line 29: is_password_valid: command not found
chpasswd: (user ) pam_chauthtok() failed, error:
Authentication token manipulation error
chpasswd: (line 1, user ) password not changed
/usr/local/vesta/bin/v-change-user-password: line 50: generate_password: command not found
/usr/local/vesta/bin/v-change-user-password: line 50: update_user_value: command not found
/usr/local/vesta/bin/v-change-user-password: line 51: update_user_value: command not found
/usr/local/vesta/bin/v-change-user-password: line 54: log_history: command not found
/usr/local/vesta/bin/v-change-user-password: line 55: log_event: command not found
Any ideas? This is on Ubuntu 18.10 with latest VestaCP

Thanks

Andy

Re: admin password reset not working

Posted: Thu Nov 07, 2019 4:01 pm
by youradds
Oh, I came across this:

viewtopic.php?t=5598

Running:

export VESTA=/usr/local/vesta/;

Seems to have worked (the command runs fine after that). Can I set this in the main server config, so I don't have to do the "export" each time?

Cheers

Andy