GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- problems with sudo
Operating System - HP-UX
1846817
Members
7652
Online
110256
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2002 10:56 AM
01-15-2002 10:56 AM
hello I need that the user jhon execute with root scripts of directory /opt/OV/bin/OpC
Use SUDO command:
sudoers
User_Alias JHON = JHONB
Cmnd_Alias OV = /opt/OV/bin/OpC/*
JHON ALL = NOPASSWD:OV
also probe:
Cmnd_Alias OV=/opt/OV/bin/OpC/oprcagt, /opt/OV/bin/OpC/agtinstall, /opt/OV/bin/OpC/call_sqlplus.sh, /opt/O
V/bin/OpC/extern_int, /opt/OV/bin/OpC/install, /opt/OV/bin/OpC/ito_create_new_svreg.sh
when it executes with the user JHONB :
I HAVE ERROR:
and to me it asks for password
---------------------------------------------
server>/opt/sudo/bin/sudo /opt/OV/bin/OpC/oprcagt rep1 -status
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these two things:
#1) Respect the privacy of others.
#2) Think before you type.
PASSWORD:
before ok worked
Use SUDO command:
sudoers
User_Alias JHON = JHONB
Cmnd_Alias OV = /opt/OV/bin/OpC/*
JHON ALL = NOPASSWD:OV
also probe:
Cmnd_Alias OV=/opt/OV/bin/OpC/oprcagt, /opt/OV/bin/OpC/agtinstall, /opt/OV/bin/OpC/call_sqlplus.sh, /opt/O
V/bin/OpC/extern_int, /opt/OV/bin/OpC/install, /opt/OV/bin/OpC/ito_create_new_svreg.sh
when it executes with the user JHONB :
I HAVE ERROR:
and to me it asks for password
---------------------------------------------
server>/opt/sudo/bin/sudo /opt/OV/bin/OpC/oprcagt rep1 -status
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these two things:
#1) Respect the privacy of others.
#2) Think before you type.
PASSWORD:
before ok worked
legionx
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2002 11:02 AM
01-15-2002 11:02 AM
Re: problems with sudo
Here's a thread that discusses the SUDO HOW-TOs:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x0ca672234586d5118ff00090279cd0f9,00.html
g'd luck
t++
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x0ca672234586d5118ff00090279cd0f9,00.html
g'd luck
t++
Little learning is dangerous!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2002 12:39 PM
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP