[CentOS] Sudo command

Fri Oct 23 10:02:38 UTC 2009
Robert Heller <heller at deepsoft.com>

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
> 
>                                                                                                                

-- 
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/