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
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
Benjamin Donnachie wrote:
2009/10/22 Jay jaybeattie@gmail.com:
sudo su -
sudo -s is so much neater! :)
But it is yet another unnecessary special case to remember.
2009/10/22 vijay shanker vijay.shad@gmail.com:
I am not able to use sudo command on my just installed centos5.3
What are you trying to achieve? Perhaps su is the command you need?
Ben
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 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@centos.org http://lists.centos.org/mailman/listinfo/centos
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 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@deepsoft.com wrote:
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 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@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@deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
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 password to give controlled admin privs to a user.
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: +91-9818311884
On Fri, Oct 23, 2009 at 10:59 AM, John R Pierce pierce@hogranch.com wrote:
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 password to give controlled admin privs to a user.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
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 don't run the program "through" sudo, you won't get the rights.
If i am a genuine sudoer then can i edit files on which only root has execution rights.
If you have the relevant permissions set in sudoers, then the answer is yes.
The whole objective of sudo is to allow some users to do certain things that could otherwise be done only as root, without actually allowing the user to become root.
In short, sudo allows you to set things up so a certain user can execute a specific list of commands as root, but can't execute other commands as root. The list of commands that you allow that user to execute is determined by the sudoers file.
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 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@deepsoft.com wrote:
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 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@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@deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
MIME-Version: 1.0
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
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 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@deepsoft.com wrote:
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 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@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@deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
MIME-Version: 1.0
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos