How can I use sudo when I logged in with a SSH key in PuTTY?

Posted by Alex on Server Fault See other posts from Server Fault or by Alex
Published on 2012-04-08T22:36:41Z Indexed on 2012/04/08 23:32 UTC
Read the original article Hit count: 176

Filed under:
|

I know the title probably doesn't even make sense, but anyway. I downloaded PuTTY and set it up, and followed this tutorial to set up SSH keys so I don't have to input a user or password when logging in with SSH. I noticed that when I made a new user I used the --disabled-password parameter, since I wouldn't be needing it... but now when I give the user sudo powers I can't proceed as it asks me for the user's password, and I don't have one.

What do I do?

© Server Fault or respective owner

Related posts about debian

Related posts about sudo