- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to configure sudo and su2
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
Discussions
Discussions
Forums
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
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
тАО03-25-2009 05:41 AM
тАО03-25-2009 05:41 AM
i require info for configure sudo & su2 in hpux from where i can download this and how to configure, please guide me
thank you very much in advance :)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 05:51 AM
тАО03-25-2009 05:51 AM
Solutionyou can download it from hp website
for su2 you need to modify .su2rc file which located in user home directory, it should have u+s permission (chmod u+s .su2rc)
for sudo
once you install sudo you can use visudo to modify sudo configuration file sudoers file,
try it let me know how it goes,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 05:55 AM
тАО03-25-2009 05:55 AM
Re: how to configure sudo and su2
Sudo is part of Internet Express bundle now.
You can download it from here.
11.23
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123
11.31
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1131
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 06:03 AM
тАО03-25-2009 06:03 AM
Re: how to configure sudo and su2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 05:05 PM
тАО03-25-2009 05:05 PM
Re: how to configure sudo and su2
can somebody SHOW ME THE SAMPLE CONFIGURATION FILE FOR BOTH,
THANKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 05:10 PM
тАО03-25-2009 05:10 PM
Re: how to configure sudo and su2
Also invokde 'visudo' and have a look at the file itself. There should be examples there.
If you don't want to do any of the above, then go here for examples:
Sudoers manual:
http://www.gratisoft.us/sudo/man/sudoers.html
Sudoers Example:
http://www.gratisoft.us/sudo/man/sudoers.html#examples
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 06:05 PM
тАО03-25-2009 06:05 PM
Re: how to configure sudo and su2
for su2 log files
/var/log/sulog
vi .su2rc
johan
michele
williams
yeec
sudo
you can modify sudo configuration file with visudo
you can create aliases, below example will help.
User_Alias FULLTIMERS = johan, robort Host_Alias LINUX = unix-host.domain.com Cmnd_Alias REBOOT = /sbin/reboot
johan ALL=(ALL) ALL
johan ALL (ALL) NOPASSWD: ALL
Particular commands for specific users
johan unix-host.domain.com = /usr/sbin/vipw
johan unix-host.domain.com = REBOOT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2009 10:17 PM
тАО03-25-2009 10:17 PM