Operating System - HP-UX
1753504
Members
4696
Online
108794
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
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
тАО10-08-2009 07:51 PM
тАО10-08-2009 07:51 PM
sudo
output from sudo
i have given the permssion for opeartor to do cmviewcl ,, but when they tried it ,,
it shows :::::::::::::::::::::::::::: not superuser
/ >/usr/local/bin/sudoedit /etc/sudoers
"/var/tmp/sudoers.a0028847" 17 lines, 869 characters
User_Alias ADMINS = raj , gupta
User_Alias OPERATOR = operator
Host_Alias COU = INDIA1,10.59.117.75
Defaults syslog=auth
Defaults>root !set_logname
#Defaults@DR log_year, logfile=/var/log/sudo.log
root ALL = (ALL) ALL
#%hpms ALL = (ALL) ALL
ADMINS ALL = NOPASSWD: ALL
operator COU = NOPASSWD: /usr/lbin/modprpw , /usr/lbin/getprpw , /opt/OV/bin/OpC/opcagt , /usr/sbin/cmviewcl
#operator COU = NOPASSWD: /home/ramesh/check_APP_DB , /home/ramesh/check_DC_all , /home/ramesh/check_DR_all , /
usr/sbin/swapinfo
#operator COU = NOPASSWD: /home/ramesh/check_DB
operator COU = NOPASSWD: /usr/sbin/cmviewcl
#operator COU = NOPASSWD: /rem_tmp.sh
i have given the permssion for opeartor to do cmviewcl ,, but when they tried it ,,
it shows :::::::::::::::::::::::::::: not superuser
/ >/usr/local/bin/sudoedit /etc/sudoers
"/var/tmp/sudoers.a0028847" 17 lines, 869 characters
User_Alias ADMINS = raj , gupta
User_Alias OPERATOR = operator
Host_Alias COU = INDIA1,10.59.117.75
Defaults syslog=auth
Defaults>root !set_logname
#Defaults@DR log_year, logfile=/var/log/sudo.log
root ALL = (ALL) ALL
#%hpms ALL = (ALL) ALL
ADMINS ALL = NOPASSWD: ALL
operator COU = NOPASSWD: /usr/lbin/modprpw , /usr/lbin/getprpw , /opt/OV/bin/OpC/opcagt , /usr/sbin/cmviewcl
#operator COU = NOPASSWD: /home/ramesh/check_APP_DB , /home/ramesh/check_DC_all , /home/ramesh/check_DR_all , /
usr/sbin/swapinfo
#operator COU = NOPASSWD: /home/ramesh/check_DB
operator COU = NOPASSWD: /usr/sbin/cmviewcl
#operator COU = NOPASSWD: /rem_tmp.sh
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2009 08:13 PM
тАО10-08-2009 08:13 PM
Re: sudo
From the operator account try:
sudo -l
to check the available commands for this user.
You have also duplicate entries for cmviewcl in sudoers file.
regards,
ivan
sudo -l
to check the available commands for this user.
You have also duplicate entries for cmviewcl in sudoers file.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2009 11:28 PM
тАО10-08-2009 11:28 PM
Re: sudo
Hi,
How did you tried.
try like "sudo cmviewcl"
Suraj
How did you tried.
try like "sudo cmviewcl"
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2009 01:32 AM
тАО10-09-2009 01:32 AM
Re: sudo
operator should use
$sudo /usr/sbin/cmviewcl
Regards,
Awadhesh
$sudo /usr/sbin/cmviewcl
Regards,
Awadhesh
It's kind of fun to do the impossible
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP