Solved

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

Posted on 2009-06-30
2
398 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
Comment Utility
You should have this line in /etc/sudoers file

user1        ALL=(ALL)       NOPASSWD: ALL
0
 

Author Closing Comment

by:epifanio67
Comment Utility
cool.... I got it... thx
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now