Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> How To Make A Centralized /etc/sudoers - 2 Hosts ?
Saravanan_A
post Feb 20 2004, 01:00 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 20-February 04
Member No.: 2,419



HEllo All

How can i configure /etc/sudoers as a centralized configuration file for two machines .

I updated /etc/sudoers file as the following

# Host alias specification
Host_Alias HOSTS = krishna, kaveri

# User alias specification
User_Alias USRS = sara,saran

# Cmnd alias specification
Cmnd_Alias CMDS = /usr/sbin/swlist, /usr/bin/su, /usr/sbin/lanscan


# User privilege specification

USRS HOSTS = NOPASSWD: CMDS

Here, krishna and kaveri are two different hosts on the network.
I can run the specified commands in krishna machine(bcos the above /etc/sudoers file is in that host ). But can't run the commands in kaveri. ( bcos user privileges r not supporting the mentioned users. ) how to make the above as a centralized configuration file ?

How can i run the sudo command in another machine ?

Regards,
Saravanan
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st October 2017 - 02:48 PM