From: Tom <tom@lemuria.org>
To: Russell Coker <russell@coker.com.au>
Cc: selinux@tycho.nsa.gov
Subject: Re: xdm (not kdm) policy ?
Date: Tue, 20 May 2003 19:15:07 +0200 [thread overview]
Message-ID: <20030520191501.A10859@lemuria.org> (raw)
In-Reply-To: <200305210015.37136.russell@coker.com.au>; from russell@coker.com.au on Wed, May 21, 2003 at 12:15:37AM +1000
I've made huge steps forward, and have a wdm patched with SELinux
support (optional, via ./configure --enable-flask). It builds and
installs well using the debian package tools.
I've also updated the file_contexts/program/xdm.fc file to include wdm.
Unfortunately, it doesn't log me on. It bails out with this message in
/var/log/auth.log: "Unable to get SID for tom"
Needless to say, tom is in the users file and logging in on the console
or via ssh works fine. wdm issues the same error for root, btw.
Russell, I've mostly copied your patch from KDM, including this
message. It follows a call to get_default_sid(name, 0, &user_sid).
Since I know too little still about the internals, this is essentially
where I'm lost. If anyone can help me clear this obstacle, I would be
very happy.
If that is of any help, I have uploaded the modified source to
http://selinux.lemuria.org/wdm-1.23-1se1.tar.gz
It should build cleanly on Debian sid or sarge using debian/rules, if
you enable SELinux support in the rules file, just add a line saying
"--enable-flask \" after the one that says "--enable-pam \". Non-Debian
users can use "./configure --enable-flask" (plus any other options you
might want).
(Why wdm? It's based on xdm with not too many modifications, it's
standalone and fairly small with but few dependencies, and finally
I'm using windowmaker anyways.)
--
http://web.lemuria.org/pubkey.html
pub 1024D/2D7A04F5 2002-05-16 Tom Vogt <tom@lemuria.org>
Key fingerprint = C731 64D1 4BCF 4C20 48A4 29B2 BF01 9FA1 2D7A 04F5
--
This message was distributed to subscribers of the selinux mailing 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.
next prev parent reply other threads:[~2003-05-20 17:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-20 12:51 xdm (not kdm) policy ? Tom
2003-05-20 14:15 ` Russell Coker
2003-05-20 15:49 ` Tom
2003-05-20 17:15 ` Tom [this message]
2003-05-20 18:04 ` Torsten Knodt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030520191501.A10859@lemuria.org \
--to=tom@lemuria.org \
--cc=russell@coker.com.au \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.