Problem with newrole && || login.c
--- newrole problem ---
hi, when i try to change my role, i got this ( in debug mode ) :
bash-2.05# newrole -r user_r
Your type will be user_t.
Your old SID was 157
Your old context was system_u:system_r:sysadm_tsystem_u
cannot find your entry in the passwd file.
the system_u line is what context_user_get(context) return.
So, i dont have any system_u in my passwd ( my passwd is normal like any other unix system ) maybe im wrong here??
--- login problem ----
ok my login problem is that i dont use PAM so i change it in MCONFIG to no and no login.c are compiled...i dont understand why and i suppose i must have a new login to work with my shadow. ( i use slack its why i dont use pam :) ) Someone can help me please or got any idea? thx.
-------------------------------------------------
Ce message a �t� envoy� par le serveur IMP du d�partement d'informatique � l'universit� Laval: courriel.ift.ulaval.ca
--
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 11 lines · On Mon, 1 Apr 2002 [email protected] wrote:
--- newrole problem ---
hi, when i try to change my role, i got this ( in debug mode ) :
bash-2.05# newrole -ruser_r
Your type will beuser_t.
Your old SID was 157
Your old context was system_u:system_r:sysadm_tsystem_u
cannot find your entry in the passwd file.
thesystem_uline is whatcontext_user_get(context)return.
So, i dont have anysystem_uin my passwd ( my passwd is normal like any other unix system ) maybe im wrong here??
The problem is that you aren't using a modified login program, so the security context is not being initialized at login time with the appropriate user identity and role.
Quoted 5 lines
--- login problem ----
ok my login problem is that i dont use PAM so i change it in MCONFIG to no and nologin.care compiled...i dont understand why and i suppose i must have a new login to work with my shadow. ( i use slack its why i dont use pam :) ) Someone can help me please or got any idea? thx.
We only use RedHat 7.1 and 7.2 as our base platform, so I can't help you with Slackware-specific problems. Try porting the login modifications to the login used by your distribution. Other people have reported successfully getting SELinux to work with other distributions, including Slackware, so you might want to look through the mailing list archives.
--
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.