Solved

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

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

810 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