?
Solved

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

Posted on 2009-06-30
2
Medium Priority
?
406 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
medvedd earned 2000 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

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 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 …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

752 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