Re: Sudo command

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



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

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

[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