Report this

What is the reason for this report?

Root Password Not Working Unable to Log into VPS to give user root right

Posted on September 4, 2013

I am going through this tutorial

https://coderwall.com/p/yz8cha

I keep on getting “permission denied” when I try to ssh into my root ip address.

I am as far in the tutorial to cap deploy:setup

when I do this

I am getting this

judy is not in the sudoers file. This incident will be reported. ** [out :: 192.241.241.204] command finished in 3716ms failed: “sh -c ‘sudo -p ‘\’‘sudo password: ‘\’’ ln -nfs /home/judy/apps/lintong/current/config/nginx.conf /etc/nginx/sites-enabled/lintong’” on 192.241.241.204

I need to ssh into my root vps inorder to give my user ‘judy’ sudo right so I can deploy… I am using the password emailed to me but keep on getting ‘permission denied’.

how do I recover this password to make sure its the same password?

I asked this question on stackoverflow http://stackoverflow.com/questions/18623440/user-is-not-in-the-sudoers-file-this-incident-will-be-reported-cap-deploysetu/18625148?noredirect=1#18625148

and suspects that the visudo section on the tutorial is incorrect?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I got a new password but I still can’t access my vps with root@ipaddress it keeps on saying Permission denied (publickey,password). any ideas on how I can troubleshoot this ?

This comment has been deleted

please note that I can ssh into my judy@ip address no problem with password created as given per the instructions on the tutorial

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.