Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 3 of 3

This is a discussion on sudo - am I missing something here? in the VPS & Dedicated forum
Admittedly, I'm new to the VPS world, so I'm hoping that I'm just missing something obvious. Logged in to my new VPS via SSH, and ...

  1. #1
    JPC Member
    Join Date
    Jul 2007
    Posts
    29

    Question sudo - am I missing something here?

    Admittedly, I'm new to the VPS world, so I'm hoping that I'm just missing something obvious.

    Logged in to my new VPS via SSH, and I'm trying to use sudo to execute some simple commands as root. However, it's not accepting my password for root.

    That is, I'm able to SSH in directly as root, but when I SSH in as a client and try to use the root password with the sudo command, it doesn't accept it. Am I missing something?

    Thanks,

    Josh

  2. #2
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,312
    try "man sudoers"
    Good luck

  3. #3
    JPC Member
    Join Date
    Jul 2007
    Posts
    29
    Quick answer: yes, I was missing something. Funny how checking the MAN page for SUDO helps to understand what's going on.

    For those of you reading this that didn't know the answer: running 'su' asks you to authenticate with the root password. 'sudo' asks you for YOUR password, and then checks the 'sudoers' file to see if you have the privileges to execute the command.

    D'oh!

    PS I checked the MAN page before Ron told me to.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •