|||Create an admin user.|
Changing password for user fermi.
# set password
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
|||Try to switch to a user that was added above.|
# input user name
# switch to root
# root password
# just switched to root
|||Make a user (it’s ‘fermi’ in this example) be only a user who can switch to root as an administration user.|
# line 11: add user name
# Uncomment the following line to implicitly trust users in the “wheel” group.
pam_wheel.so trust use_uid
# Uncomment the following line to require a user to be in the “wheel” group.
# uncomment the following line
pam_succeed_if.so uid = 0 use_uid quiet
Forwarding email for root to administration user
|||Configure that forwarding emails for root to administration user you set above.|
# Person who should get root’s mail