关于sudo 的设置:
Step1:
vi .profile
add /usr/local/bin in PATH
Step2:
vi /etc/sudoers
add shenghp in below:
User_Alias U_SYSADMIN_AIX = shenghp
Runas_Alias U_FUNCTION_SA = sudouser
Step3:
exit the terminate, and login
Step4:
login with below command:
sudo -u sudouser su -
root's password: