When i telnet the ES 4 server, i always get the question to accept the default context
Red Hat Enterprise Linux ES release 4 (Nahant Update 2)
Kernel 2.6.9-5.ELsmp on an i686
login: abc
Password:
Your default context is user_u:system_r:unconfined_t.
Do you want to choose a different one? [n]
I already followed the advice to change the /etc/pam.d/login
from
#pam_selinux.so open should be the last session rule
session required pam_selinux.so multiple open
to
session required pam_selinux.so open
But with no effect. not even after reboot
*************[SOLUTION]*************
You need to change 2 files in /etc/pam.d
/etc/pam.d/login and /etc/pam.d/remote with the following change
# pam_selinux.so open should be the last session rule
#session required pam_selinux.so multiple open
session required pam_selinux.so open