- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- is it posible to give a nis user the rights to res...
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-21-2005 11:21 PM
05-21-2005 11:21 PM
is it posible to give a nis user the rights to restart any machine in the domain ?
On nis server:
-------------
#visudo
nis_user ALL=/sbin/init 6
I wana ask that if 'nis_user' logs on to the nis domain from any nis client machine, will he be able to restart the nis client machine ?
if not is there any "centralize" way ? i.e I wana give the user 'nis_user' rights to restart every machine in the nis domain
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2005 05:00 AM
05-22-2005 05:00 AM
Re: is it posible to give a nis user the rights to restart any machine in the domain ?
If you mean you want to be able to admin the list of users that can reboot machines from a central point you should use a group or netgroup in sudoers:
%rootgroup ALL=...
or
+rootnetgroup ALL=...
then just adding to or removing them from the rootgroup or rootnetgroup in NIS is all that is needed.
If there's no need for files to be group rootgroup your should probably use a netgroup.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2005 05:11 PM
05-22-2005 05:11 PM
Re: is it posible to give a nis user the rights to restart any machine in the domain ?
No i dont want to copy the sudoers file to each machine.
what i want is that I maintained/configure/update the sudoers file only at nis server.. i.e centralize.. is it posible ?
I'll check %rootgroup and +rootnetgroup.
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 06:51 AM
07-06-2005 06:51 AM
Re: is it posible to give a nis user the rights to restart any machine in the domain ?
http://www.courtesan.com/sudo/readme_ldap.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 06:54 AM
07-06-2005 06:54 AM
Re: is it posible to give a nis user the rights to restart any machine in the domain ?
The sudoers file can be included in the yppush to the other systems. You do not have to copy to each machine, NIS will do it for you.