- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Help "how to" using SUDO
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
10-26-2000 09:58 AM
10-26-2000 09:58 AM
Sudo has been installed on one of our servers, and I am not very familiar with it.
Can someone tell me how to set it up so a user can, for instance, execute chwon on one directory area, and NOT anything else? I need to grant access to some commands, but they can only be used in restricted areas or directories. Can you tell me how?
thank you again.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2000 10:07 AM
10-26-2000 10:07 AM
Re: Help "how to" using SUDO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2000 10:12 AM
10-26-2000 10:12 AM
SolutionThe software for HP-UX and documentation is available from HP-UX porting centre.
Here is the link.
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.2b1/
Hope this helps.
......Madhu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2000 10:33 AM
10-26-2000 10:33 AM
Re: Help "how to" using SUDO
If you have sudo installed, you should see a /etc/sudoers file.
To configure you should use the cmd /usr/local/sbin/visudo which edit ~/sudoers..
But then all depends how it has been installed (from porting center or home compiled...) for the paths...
you should have also man pages look at sudoers, sudo visudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2000 10:34 AM
10-26-2000 10:34 AM
Re: Help "how to" using SUDO
If you have sudo installed, you should see a /etc/sudoers file.
To configure you should use the cmd /usr/local/sbin/visudo which edit ~/sudoers..
But then all depends how it has been installed (from porting center or home compiled...) for the paths...
you should have also man pages look at sudoers, sudo visudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2000 10:38 AM
10-26-2000 10:38 AM
Re: Help "how to" using SUDO
I believe that is spelled right.
The sudoers file is what you define to give the users the appropriate rights. You can have definitions in there that only allow some users to have the access to do the chown, or some other users to become root, etc...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2000 12:42 PM
10-26-2000 12:42 PM
Re: Help "how to" using SUDO
This will prevent any user from invoking sudo to become root. Also, if in a trusted environment, sudo rlogin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2000 12:42 PM
10-26-2000 12:42 PM
Re: Help "how to" using SUDO
This will prevent any user from invoking sudo to become root. Also, if in a trusted environment, sudo rlogin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2000 04:06 AM
10-27-2000 04:06 AM
Re: Help "how to" using SUDO
I was able to get it to do what I think was needed, thank you again.
scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2000 09:15 AM
10-27-2000 09:15 AM
Re: Help "how to" using SUDO
The best way to express thanks is, assign points.
Regards,
......Madhu