Re: Sudo command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx> 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@xxxxxxxxxxxx> wrote:
>>
>>     
>>> At Thu, 22 Oct 2009 14:00:27 -0400 CentOS mailing list <centos@xxxxxxxxxx>
>>> 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@xxxxxxxxxx
>>>> 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@xxxxxxxxxxxx       -- http://www.deepsoft.com/ModelRailroadSystem/
>>>
>>> _______________________________________________
>>> CentOS mailing list
>>> CentOS@xxxxxxxxxx
>>> http://lists.centos.org/mailman/listinfo/centos
>>>
>>>       
>> MIME-Version: 1.0
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS@xxxxxxxxxx
>> 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@xxxxxxxxxxxxxxxxxxxx


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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux