puspus Posted February 14 Posted February 14 Why suddenly I am unable to login to Hestia? I tried using this command through SSH: v-change-user-password admin [new_password] and it says permission denied. Error: user admin doesn't exist Sudo won't work either (command not found). What should I do? Thank you. Quote
Ookma-Kyi Posted February 14 Posted February 14 (edited) 4 hours ago, puspus said: Why suddenly I am unable to login to Hestia? I tried using this command through SSH: v-change-user-password admin [new_password] and it says permission denied. Error: user admin doesn't exist Sudo won't work either (command not found). What should I do? Thank you. Can you please try: which sudo and let me know the results? Edited February 14 by Ookma-Kyi Quote
Krydos Posted February 14 Posted February 14 I tested your SSH account and it works fine for me puspusssh@vps118:~$ which sudo /usr/bin/sudo puspusssh@vps118:~$ sudo su [sudo] password for puspusssh: root@vps118:/home/puspusssh# exit puspusssh@vps118:~$ sudo /usr/local/hestia/bin/v-change-user-password admin newpassword puspusssh@vps118:~$ I didn't leave the password as "newpassword" though because it is very insecure. Which SSH account are you logging in to? I see you have an FTP account too. If you login to that account via SSH it might not have sudo privileges. Quote
puspus Posted February 15 Author Posted February 15 @Ookma-Kyi Result: /usr/bin/sudo @Krydos Thank you! I did not not use the complete path for the command. My bad. Now I can login. But I still wonder why admin login suddenly failed. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.