Re: Compiling for SuSE 7.2

From: Stephen Smalley <sds_at_tislabs.com>
Date: Fri, 5 Oct 2001 09:39:42 -0400 (EDT)

On Fri, 5 Oct 2001, James Bishop wrote:

> I had that feeling that it was too easy...
>
> When I boot selinux (or SuSE linux) into runlevel 3 (no X), I get the
> login prompt, I enter username and password, and then answer the query
> about choosing a new context (in selinux only). After replying "no", I'm
> back at the login prompt again; not the shell prompt.
>
> So my modified login doesn't actually work - awareness dawns (somewhat
> slowly). I had assumed that the same login binary was used for all
> logins to the system, but apparently X, and / or Gnome, do things
> differently. Is this really so?

Yes, the X Display Manager handles login separately from the login program. Likewise, sshd handles remote logins without ever running the login program.

Does the modified login program still work when running the original SuSE kernel? It is supposed to function as usual when SELinux is not running. If it doesn't work on the SuSE kernel, then this suggests that your util-linux MCONFIG is wrong for SuSE. Does the SuSE login use PAM?

If the modified login program does work when running the original SuSE kernel, then check /var/log/messages to see if there were any error messages from login. Did you remember to edit and install the /etc/security/default_context file?

--
Stephen D. Smalley, NAI Labs
ssmalley@nai.com




--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
Received on Fri 5 Oct 2001 - 09:51:46 EDT

This archive was generated by hypermail 2.2.0 on Wed 11 Jun 2008 - 08:10:26 EDT