[sudo-users] sudo and originating IPs/hostnames
Sul, Young L
Sul at hcp.med.harvard.edu
Tue Apr 10 15:56:03 EDT 2012
Is it possible to control sudo by originating IP?
I want to be able to define a list of IPs that are considered 'administrative workstations,' and certain sudo commands would only be allowable if you logged in from one of those workstations.
It seems that the host alias refers to the *current* system you happen to be on, rather than the originating system.
Is this something outside the scope of sudo?
More information about the sudo-users