---- To my knowledge, the wheel group is commonly used as a super-user group on BSD and is pretty much not involved in Linux stuff except that you may want to use NIS type of UID/GID designations. Linux uses other groups such as adm/disk for these types of elevated privileges.
# Uncomment the following line to require a user to be in the "wheel" group. #auth required /lib/security/$ISA/pam_wheel.so use_uid
# Uncomment to allow people in group wheel to run all commands #%wheel ALL=(ALL) ALL
| You can restrcit the root access to the system based on the ip
with the help of the setting in /etc/ssh/sshd_config vi /etc/ssh/sshd_config DenyUsers root@10.65.6.123 root@10.65.1.58 root@203.133.123.343 So this will restrcit root access from the specified ips. OR alternate setting is vi /etc/ssh/sshd_config AllowUsers root@10.54.6.12 root@10.65.2.12 PermitRootLogin no So this will deny root access from all ips except the ip;s mentioned in the AllowUsers list So you can use the options provided above accordingly to suit your requirement. In case of further doubts or queries, feel free to get back to us. |