On Fri, 5 Oct 2001 09:21, 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?
/bin/login is for console logins, telnetd, and I think rshd. sshd doesn't use it (but there's a patch to sshd). X logins use an X program, options include xdm, kdm, gdm, and many others. I intend to develop a patch for kdm after getting everything else working (if no-one beats me to it).
Initially using startx after logging in on the console is easiest.
?dm programs for X login are complex, have lots of features, and generally have code that's been hacked on by 100 people and is not easy to modify. :(
-- http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/projects.html Projects I am working on http://www.coker.com.au/~russell/ My home page -- 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 - 11:21:47 EDT
This archive was generated by hypermail 2.2.0 on Wed 11 Jun 2008 - 08:10:26 EDT