Bug 1126548 - When Install RHEL 7.0 as a guest OS in ESX, Sudo command asking password after enable root access for uesr
Summary: When Install RHEL 7.0 as a guest OS in ESX, Sudo command asking password afte...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sudo
Version: 7.0
Hardware: i686
OS: Linux
unspecified
urgent
Target Milestone: rc
: ---
Assignee: Daniel Kopeček
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-04 17:58 UTC by Karuppaiah venkateswaran
Modified: 2014-09-29 12:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-29 12:10:33 UTC


Attachments (Terms of Use)

Description Karuppaiah venkateswaran 2014-08-04 17:58:43 UTC
Description of problem:

I installed the RHEL 7.0 as guest OS in ESX 5.5 and ESX 5.0.and passthrough micron SSD's(P320 drive)for the guest OS. Sudo user asking password to run an admin commands after adding the user in sudoers nopassword list (user (ALL)=ALL NOPASSWD:ALL)

I installed the RHEL 7.0 as a guest OS and create a user and add the users in sudoers and set nopasswd (user (ALL)=ALL NOPASSWD:ALL)
Passthrough micron SSD's for RHEL 7.0,

Version-Release number of selected component (if applicable):
 RHEL 7.0 version: 3.10.0-123.el7.x86_64 #1

How reproducible:


Steps to Reproduce:
1.Install RHEL 7.0 as a guest OS on ESX 5.0, ESX 5.5.
2.Create a user and add the user to root group, add the user into sudoers list with nopassword option.(user (ALL)=ALL NOPASSWD:ALL)
3. Execute Some admin commands from the user, its asking for the password for the user.

Actual results:
The sudo user asking the password to run admin commands.

Expected results:
The Admin commands should run without asking the password thr user.

Additional info:

Comment 2 Daniel Kopeček 2014-09-29 12:10:33 UTC
(In reply to Karuppaiah venkateswaran from comment #0)
> Description of problem:
> 
> I installed the RHEL 7.0 as guest OS in ESX 5.5 and ESX 5.0.and passthrough
> micron SSD's(P320 drive)for the guest OS. Sudo user asking password to run
> an admin commands after adding the user in sudoers nopassword list (user
> (ALL)=ALL NOPASSWD:ALL)

You have the syntax wrong. It should read:

user ALL=(ALL) NOPASSWD: ALL

closing as NOTABUG.


Note You need to log in before you can comment on or make changes to this bug.