- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- run cmrunpkg command without root...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
05-08-2003 05:37 AM
05-08-2003 05:37 AM
is it possible to run cmrunpkg command with
another user that root??
I know that i can run cmviewcl command with another user by adding this user in /etc/cmcluster/cmclnodelist file.
Thanks
David
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2003 05:42 AM
05-08-2003 05:42 AM
SolutionOr you can also try with restricted sam.
To get sudo click this link.
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.6/
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2003 06:21 AM
05-08-2003 06:21 AM
Re: run cmrunpkg command without root...
User_Alias USERS = nobody,jhon,frank
##
# Runas' for user root
##
Runas_Alias OP = root
##
# Alias of comands
##
#you can add other command separate for ","
Cmnd_Alias CMRUNPKG = /sbin/cmrunpkg, /usr/sbin/hosts_to_named
##
Defaults syslog=auth
Defaults:USERS !lecture
# Grups and users the execute all comands in server
root ALL = (ALL) ALL
%wheel ALL = (ALL) ALL
# Users that they can sig_named
USERS ALL = NOPASSWD: CMRUNPKG
for verify run:
sudo - yousers
sudo -l
#/usr/local/bin/sudo /usr/sbin/host_to_named -H
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2003 06:44 AM
05-08-2003 06:44 AM
Re: run cmrunpkg command without root...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2003 07:02 AM
05-08-2003 07:02 AM
Re: run cmrunpkg command without root...
You can try to create a script to run the cmrunpkg and give permissions to one or more users to use a sam restrict session that gives to them only access to the script you wrote.
To create a sam restrict session fora a user, issue the commando "sam -r" ass root.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2003 09:26 PM
05-08-2003 09:26 PM
Re: run cmrunpkg command without root...
It's not possible.
you can use some other softwares like sudo to get this functionility.
You can give Cluster managment rights to some other user using ristricted SAM featuer of SAM you can configure it using sam -r
Sunil