Solved

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

Posted on 2009-06-30
2
403 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

713 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