- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to add sudo users
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
05-04-2005 05:41 PM
05-04-2005 05:41 PM
how to add sudo users
I have a nis master server and 3 slave servers ..How to enable sudo acces to the users ..Where is sodoers file located in NIS server
Thanks
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 06:19 PM
05-04-2005 06:19 PM
Re: how to add sudo users
Download the sudo packages for HP from the following link
http://hpux.connect.org.uk/hppd/cgi-bin/search?package=on&description=on&term=sudo&Search=Search
Thanks
Sreejith M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 06:41 PM
05-04-2005 06:41 PM
Re: how to add sudo users
the sudoers file at this time. A good way to distribute the
sudoers file is via rdist(1). It is also possible to NFS-mount
the sudoers file.
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 06:58 PM
05-04-2005 06:58 PM
Re: how to add sudo users
I have NIS USER who want to acces a particular workstation useing ssh..
Where to add his user name ????
Is it in NIS server ...??Where is the location?
Is it in Workstion ???Can you tell me te location
Thanks
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 07:24 PM
05-04-2005 07:24 PM
Re: how to add sudo users
For giving sudo access you need to have users entry in sudoers file. Though most of the documentation say it is /etc/sudoers, in my HPUX system file is located at /var/opt/sudo/sudoers (dont know why!!). Following link may give you more idea.
http://www.courtesan.com/sudo/man/sudoers.html
I need to check few things, in the case of NIS user who is logged in and want to invoke sudo. Will get back.
Regarding ssh access I dont have much idea.
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 07:43 PM
05-04-2005 07:43 PM
Re: how to add sudo users
If you are a NIS user then can't invoke sudo, because sudo use standard libc getpw* routines.
One work around I could suggest is to create a local group in /etc/group (eg:sudouser) and add the required NIS users to that group. Then go and allow sudo access to this group by putting an entry for that group in sudoers file.
Hope this help you solve your issue.
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 09:06 PM
05-04-2005 09:06 PM
Re: how to add sudo users
my sudo user need only mkdir and rmdir
can you let me know the syntax
in /etc/sudoeres file
How will WILL ADD THE PARTICULAR GROUP for a particular access in /etc/sutoers
Thanks
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 09:41 PM
05-04-2005 09:41 PM
Re: how to add sudo users
in our case you can put
%sudouser ALL = /usr/bin/rmdir, /usr/bin/mkdir
All users in group sudouser is allowed to execute /usr/bin/rmdir and /usr/bin/mkdir on all machines.
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2005 10:41 PM
05-04-2005 10:41 PM
Re: how to add sudo users
Thanks
Binu