Re: [CentOS] Sudo command

2009-10-23 Thread Frank Cox
On Fri, 23 Oct 2009 11:18:56 +0530 vijay shanker wrote: if it expects my own password then why not i can execute these command without giving sudo as prefix. Because sudo is the program that gives you the rights to execute certain commands as root without actually being the root user. If you

Re: [CentOS] Sudo command

2009-10-23 Thread Robert Heller
At Fri, 23 Oct 2009 10:50:38 +0530 CentOS mailing list centos@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

Re: [CentOS] Sudo command

2009-10-23 Thread Patrick McEvoy
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@centos.org wrote: Hi guys, Thanks What i am trying to achieve is; when executing # sudo make install

[CentOS] Sudo command

2009-10-22 Thread vijay shanker
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. Regards, Vijay Shanker Dubey Ph: +91-9818311884 ___ CentOS mailing list

Re: [CentOS] Sudo command

2009-10-22 Thread Alan Sparks
vijay shanker 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 really need to configure /etc/sudoers, if you have not already. -Alan

Re: [CentOS] Sudo command

2009-10-22 Thread Jay
use your user password for sudo not root's password. sudo su - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Sudo command

2009-10-22 Thread Benjamin Donnachie
2009/10/22 Jay jaybeat...@gmail.com: sudo su - sudo -s is so much neater! :) Ben ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Sudo command

2009-10-22 Thread Les Mikesell
Benjamin Donnachie wrote: 2009/10/22 Jay jaybeat...@gmail.com: sudo su - sudo -s is so much neater! :) But it is yet another unnecessary special case to remember. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list

Re: [CentOS] Sudo command

2009-10-22 Thread Robert Heller
At Thu, 22 Oct 2009 14:00:27 -0400 CentOS mailing list centos@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

Re: [CentOS] Sudo command

2009-10-22 Thread vijay shanker
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. but when i do a su - and then gave the same root password. I am able to switch account to user. --- Am am

Re: [CentOS] Sudo command

2009-10-22 Thread John R Pierce
vijay shanker wrote: Hi guys, Thanks What i am trying to achieve is; when executing # sudo make install Password:* this password entered is root password. sudo expeccts your USER password, not the root password. the whole idea is the admin doesn't ened to give out the root

Re: [CentOS] Sudo command

2009-10-22 Thread vijay shanker
Goood John, But you please also clarify what does sudo means; if it expects my own password then why not i can execute these command without giving sudo as prefix. If i am a genuine sudoer then can i edit files on which only root has execution rights. Regards, Vijay Shanker Dubey Ph: