Solved

Linux CentOS 5.3: how come I can't use the sudo command to run an app?

Posted on 2009-06-30
2
402 Views
Last Modified: 2013-11-08
Hello Experts

Logged in as user1, I am running a command:
sudo xyz.sh
it asks me for the root password which I input; but it tells me that the passwd is incorrect.
Yet, if I am able to log in as root using the same passwd.

Why doesn't it let me use the 'sudo' command as user1?

Please help I am in the middle of an oracle install...

thx
0
Comment
Question by:epifanio67
2 Comments
 
LVL 16

Accepted Solution

by:
medvedd earned 500 total points
ID: 24747960
You should have this line in /etc/sudoers file

user1        ALL=(ALL)       NOPASSWD: ALL
0
 

Author Closing Comment

by:epifanio67
ID: 31598455
cool.... I got it... thx
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question