[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ProgSoc] adding sudoers
Try using your own password - not root's.
sudo works by authenticating the 'source' user (you), not the 'target' user
On 22 Mar, Pramod Korathota wrote:
> Hi all,
> Just a simple sudo question - I've started playing around
> with sudo on a new linux box (Dell 2400 with RedHat pre-installed)
> It's at a co-loc facility so I can't go off and re-install it
> or something. It already has sudo installed with a basic
> /etc/sudoers :
> # User privilege specification
> root ALL=(ALL) ALL
> delladmin ALL=(ALL) ALL
> admin ALL=(ALL) ALL
> At this stage I'm only interested in controllig who can access
> su. The admin account can su to root without any problems. I
> created a user account for myself and added it to sodoers using
> visudo with the line :
> pkorathota ALL=(ALL) ALL
> However when I try to su using "sudo su -" it does not validate
> the root password. I'm using sudo 1.6.3. I couldn't see
> anything in the manpages which helped me... shadow passwords
> are enabled, but that shouldn't be a problem with this
> If anyone has some pointers it would be greatly appreciated.
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to firstname.lastname@example.org.
If you are having trouble, ask email@example.com for help.