Assign group by IP
Redhat 7.2.
Is it possible to assign a user's group memebership based on the IP address the user obtains when he/she logs in?
For example, if "user1" logs in from machine 192.168.0.1 he becomes a part of group "abc", but if he logs in from 192.168.0.100 he is set to be part of group "def"?
Alternately, how can I block a login for an account based on the IP (so "user1" cannot log in at all from 192.168.0.100, but must use a different account)?
Waif
|