The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sudo, or not sudo: that is the question iBot UNIX and Linux RSS News 1 02-07-2008 01:40 PM
Sudo ???? ShellBoy UNIX for Advanced & Expert Users 4 07-20-2007 02:14 PM
Help with Sudo geomonap UNIX for Advanced & Expert Users 1 03-29-2006 04:50 PM
Using Sudo ambika UNIX for Dummies Questions & Answers 2 12-28-2005 09:58 AM
Sudo reddyb UNIX for Dummies Questions & Answers 1 08-23-2001 05:15 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 07-16-2006
yoavbe yoavbe is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 43
using sudo in HP-UX

Hi All,

I would like to run the script xyz from user abc as user oracle.
I tried to following command
[machine:abc] /home/scripts >sudo -u oracle xyz

And this the feedback (of course i dont want to be ask about the password):

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

Password:
[machine:abc] /home/scripts >

I also tried : sudo -u oracle ALL=NOPASSWD xyz , but got the same feedback.

Help will be appreciated .

Regards
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:41 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0