5、.....tty2tty3tty4tty5tty6tty7tty8tty9tty10tty11pts/0pts/1pts/2pts/3pts/4 添加这一些。 #vi/etc/pam.d/login #%PAM-1.0#auth[user_unknown=ignoresuccess=okignore=ignoredefault=bad]pam_securetty.soauth include system-authaccount required pam_nologin.soaccount include system-aut
6、hpassword include system-auth#pam_selinux.socloseshouldbethefirstsessionrulesession required pam_selinux.soclosesession include system-authsession required pam_loginuid.sosession optional pam_console.so#pam_selinux.soopenshouldonlybefollowedbysessionstobeexecutedin
7、theusercontextsession required pam_selinux.soopensession optional pam_keyinit.soforcerevoke~ #vi /etc/pam.d/remote #%PAM-1.0#auth required pam_securetty.soauth include system-authaccount required pam_nologin.soaccount include system-authpassword incl
8、ude system-auth#pam_selinux.socloseshouldbethefirstsessionrulesession required pam_selinux.soclosesession include system-authsession required pam_loginuid.sosession optional pam_console.so#pam_selinux.soopenshouldonlybefollowedby