- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- creating user with sudo access
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
02-21-2005 10:09 PM
02-21-2005 10:09 PM
I need to create a user in HPUX 11.11 with sudo access. How can i go about in doing the same?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2005 10:16 PM
02-21-2005 10:16 PM
SolutionIf you want users or groups to perform some commands with sudo you should specify this in the /etc/opt/sudo/sudoers file.
http://www.courtesan.com/sudo/sudo.html
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2005 10:20 PM
02-21-2005 10:20 PM
Re: creating user with sudo access
When i do swlist for sudo
# swlist -l fileset |grep -i sudo
# sudo 1.6.6 sudo
sudo.sudo-RUN
but i am not able to find sudo under /etc/opt/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2005 10:31 PM
02-21-2005 10:31 PM
Re: creating user with sudo access
Whereis sudo installed and whereis your sudoers file?
/opt/sudo
In my previous post I've included a url, did you check the Sudoers link.
Use visudo to edit the sudoers file!
When you issue the sudo command doesn't it give you a error message?
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2005 10:39 PM
02-21-2005 10:39 PM
Re: creating user with sudo access
if sudo is installed on your system you should have the utility called visudo.
Keep in mind that you will see products by swlist if they were installed by swinstall as a depot.
I said so because I installed sudo by tar file by ftp://ftp.cs.colorado.edu/pub/sudo/
Then:
cd /
visudo
and insert in the file (for example)
# User privilege specification
root ALL=(ALL) ALL
mount is an example.
This is a simple configuration.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2005 10:41 PM
02-21-2005 10:41 PM
Re: creating user with sudo access
The location of sudo is in
/opt/sudo
/opt/sudo/etc/sudoers/sudoers
How to add the user information in to that file. There are lots of fields in sudoers file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2005 11:06 PM
02-21-2005 11:06 PM
Re: creating user with sudo access
You can view a comprehensive list of /etc/sudoers file options by issuing the command man sudoers.
also some examples:
http://www.linuxhomenetworking.com/linux-hn/addusers.htm
It depends what you want the users to run with sudo.
Good luck
Darrel