can't log in
Hello.
How do I debug problems with logging in?
After following the README instructions I am stuck at step 15 of
"BUILDING AND INSTALLING". On the console I am not able to login as
user "root" or "admin". I am running a minmal (no MLS) 2.4.18-selinux
kernel created by patching our vendor's (Sun/Cobalt) 2.4.16 source using patches from www.linux.org and www.nsa.gov/selinux.
Besides dealing with minor problems when applying the selinux kernel
patches I had to install openssl and kerberos5. Building the utils
required installing openssl library and .h and .a files for kerb5.
I have made few changes to the default configuration files. Here are the user definitions in my policy/users file.
user system_u roles system_r;
user user_u roles user_r;
user root roles { user_r sysadm_r };
user admin roles { user_r sysadm_r };
user named roles { user_r };
Here are sample log entries in /var/log/auth.
Jul 19 01:58:28 raq104 PAM_pwdb[559]: (login) session opened for user admin by (uid=0) Jul 19 01:58:49 raq104 login[559]: UNABLE TO GET VALID SID FOR admin
Kerberos5 services are not active. Is having these active a prerequisit?
Stan
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 4 lines · Stan Osborne
Here are sample log entries in
/var/log/auth.Jul 19 01:58:28 raq104 PAM_pwdb[559]: (login) session opened for user admin by (uid=0) Jul 19 01:58:49 raq104 login[559]: UNABLE TO GET VALID SID FOR admin
Is admin listed in /etc/security/default_context? If so, check your bootup messages for any errors during the kernel initialization. Did you see something like the following:
security: starting up (compiled Jul 3 2002) security: loading policy configuration from /etc/security/selinux/policy.11 security: policydb is compressed, decompressing... security: decompressed 2839471 bytes security: 15 users, 5 roles, 717 types security: 29 classes, 116911 rules
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.