- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SUDO Setup on my hp-ux 11.0
Operating System - HP-UX
1755096
Members
1847
Online
108829
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
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
тАО08-03-2001 07:06 AM
тАО08-03-2001 07:06 AM
Re: SUDO Setup on my hp-ux 11.0
Laurie,
I believe that command you are asking about shows the sudo permissions for the current user. ie when I am logged in as 'jjp' and run the command 'sudo -l -u sgj3', I get the following output:
Bastian:jjp /etc/default# sudo -l -u sgj3
User jjp may run the following commands on this host:
(root) /opt/ignite/bin/
(root) /opt/pred/bin/
(root) /etc/opt/resmon/lbin/
(root) /opt/ssh/bin/sftp2
(root) /usr/bin/
(root) /usr/sbin/
(root) /usr/contrib/bin/
(root) /sbin/init.d/
(root) /opt/unicenter/bin/
(root) /opt/unicenter/atech/services/bin/
(root) /opt/sudo/sudo-1.6.3p7/visudo
(root) /opt/hpnp/bin/jetadmin
Telling me what permissions I have and ignoring the 'sgj3' string. I can not run the command as root because I have disabled root sudo access. (See previous post about root using sudo.) I am not sure how you can confirm how to do that other than 'su - netbkup' and then run the 'sudo -l' command. There doesn't seem to be any other way...
Hope it helps.
John
I believe that command you are asking about shows the sudo permissions for the current user. ie when I am logged in as 'jjp' and run the command 'sudo -l -u sgj3', I get the following output:
Bastian:jjp /etc/default# sudo -l -u sgj3
User jjp may run the following commands on this host:
(root) /opt/ignite/bin/
(root) /opt/pred/bin/
(root) /etc/opt/resmon/lbin/
(root) /opt/ssh/bin/sftp2
(root) /usr/bin/
(root) /usr/sbin/
(root) /usr/contrib/bin/
(root) /sbin/init.d/
(root) /opt/unicenter/bin/
(root) /opt/unicenter/atech/services/bin/
(root) /opt/sudo/sudo-1.6.3p7/visudo
(root) /opt/hpnp/bin/jetadmin
Telling me what permissions I have and ignoring the 'sgj3' string. I can not run the command as root because I have disabled root sudo access. (See previous post about root using sudo.) I am not sure how you can confirm how to do that other than 'su - netbkup' and then run the 'sudo -l' command. There doesn't seem to be any other way...
Hope it helps.
John
Spoon!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2001 07:45 AM
тАО08-13-2001 07:45 AM
Re: SUDO Setup on my hp-ux 11.0
Sudo's main page is at:
http://www.courtesan.com/sudo/index.html
where the latest version is 1.6.3p7
The HP porting and resource center has 1.6.2b1
If you can, I would build the latest. The
build and install are very straightforward.
If you have questions, etc. that you cannot find on the Sudo site, I will try to help.
Later,
Jim H.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2001 07:48 AM
тАО08-13-2001 07:48 AM
Re: SUDO Setup on my hp-ux 11.0
OK, OK, I somehow didn't see the TEN other replies...
sounds like you are in good hands.
sounds like you are in good hands.
- « Previous
-
- 1
- 2
- Next »
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