[CentOS] Sudo command

Fri Oct 23 16:16:17 UTC 2009
Patrick McEvoy <pmcevoy at silvacapitalmanagement.com>

Are you trying to run sudo when logged in as root?  sudo is only used by 
non root users.

Robert Heller wrote:
> At Fri, 23 Oct 2009 10:50:38 +0530 CentOS mailing list <centos at centos.org> wrote:
>
>   
>>
>> Hi guys,
>> Thanks
>>
>> What i am trying to achieve is; when executing
>>
>> # sudo make install
>> Password:*********
>>
>> this password entered is root password.
>>
>> it gives is error
>>
>> Sorry, try again.
>>     
>
> Sudo asks for the user's password NOT the root password.  Please read
> the documentation, carefully.
>
> man sudo
> man sudoers
>
>
>   
>> but when i do a su - and then gave the same root password. I am able to
>> switch account to user.
>>
>> -------
>>
>> Am am trying to add my account to sudoers file. It should be easy i think.
>>
>>
>> Regards,
>> Vijay Shanker Dubey
>> Ph: +91-9818311884
>>
>>
>> On Fri, Oct 23, 2009 at 2:09 AM, Robert Heller <heller at deepsoft.com> wrote:
>>
>>     
>>> At Thu, 22 Oct 2009 14:00:27 -0400 CentOS mailing list <centos at centos.org>
>>> wrote:
>>>
>>>       
>>>>
>>>> Hello guys;
>>>>
>>>> I am not able to use sudo command on my just installed centos5.3
>>>>
>>>> But i know i am using right password to root.
>>>>
>>>> Is this is by default not enabled; if so, what to do.
>>>>         
>>> You don't use root's password, you use your own password.
>>>
>>> This assumes you have an entry in /etc/sudoers for your account.
>>>
>>>       
>>>> Regards,
>>>> Vijay Shanker Dubey
>>>> Ph: +91-9818311884
>>>>
>>>> MIME-Version: 1.0
>>>>
>>>> _______________________________________________
>>>> CentOS mailing list
>>>> CentOS at centos.org
>>>> http://lists.centos.org/mailman/listinfo/centos
>>>>
>>>>
>>>>         
>>> --
>>> Robert Heller             -- 978-544-6933
>>> Deepwoods Software        -- Download the Model Railroad System
>>> http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
>>> heller at deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/
>>>
>>> _______________________________________________
>>> CentOS mailing list
>>> CentOS at centos.org
>>> http://lists.centos.org/mailman/listinfo/centos
>>>
>>>       
>> MIME-Version: 1.0
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>>                                                                                                                
>>     
>
>   

-- 

Patrick McEvoy
System Administrator
Silva Capital Management, LLC
625 N. Michigan Ave, Suite 412
Chicago, IL 60611
Office: 312-397-0400, Fax: 312-397-0404
Cell: 773-517-1287
pmcevoy at silvacapitalmgmt.com


  Silva Capital Management, LLC <http://www.silvacapitalmgmt.com/>