Skip to contentSkip to conversation

Support for XWindows ?

DISCUSSION Akshay Gangam 4 participants 5 messages May 3, 2003 – May 5, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hi everyone,

I have a running installed on a stand alone system, with lsm2.4+selinux+RH8.0 on it.
The kernel is in permissive mode, but I have not moved to enforcing mode, since I not sure of the support for XWindows. Does changing is enforcing mode, leave me deprived of Emacs/Xwindows to read documentation or to open multiple terminal sessions ?

Thanks for any help, that you can provide.

Akshay R Gangam

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 7 lines · Akshay Gangam

I have a running installed on a stand alone system, with lsm2.4+selinux+RH8.0 on it.
The kernel is in permissive mode, but I have not moved to enforcing mode, since I not sure of the support for XWindows. Does changing is enforcing mode, leave me deprived of Emacs/Xwindows to read documentation or to open multiple terminal sessions ?

Notice the xdm.te and xserver.te files in the policy source directory. These provide the security policy for a patched XDM (not included in a base SE Linux installation) and for running "startx" from the command line.

Note which email program that I am using to write this message...

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
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/~russell/  My home page


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw

I'm thinking of setting up a spare box for use with selinux as a spam-culler :( can't manage "spammer-culler" yet - damned nuisance Intel deleting the EOU and EORU instructions, don't you think?! ;), firewall and general over-all cop for a home network, preparatory to selling the NZ government etc, on using it.

I hadn't realized that you already had working policies for X-Window. That does encourage me!

Wesley Parish

Quoted 14 lines · Russell Coker
Quoted 7 lines · Akshay Gangam

I have a running installed on a stand alone system, with lsm2.4+selinux+RH8.0 on it.
The kernel is in permissive mode, but I have not moved to enforcing mode, since I not sure of the support for XWindows. Does changing is enforcing mode, leave me deprived of Emacs/Xwindows to read documentation or to open multiple terminal sessions ?

Notice the xdm.te and xserver.te files in the policy source directory. These provide the security policy for a patched XDM (not included in a base SE Linux installation) and for running "startx" from the command line.

Note which email program that I am using to write this message...

Signature · 10 lines
Mau e ki, "He aha te mea nui?"
You ask, "What is the most important thing?"
Maku e ki, "He tangata, he tangata, he tangata."
I reply, "It is people, it is people, it is people."


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#3 lore raw
Quoted 2 lines · Wesley Parish

I'm thinking of setting up a spare box for use with selinux as a spam-culler

Sounds like a good idea. One significant advantage of SE Linux for such applications is that it reduces the chance of a bug in an application being exploitable, and therefore increases the length of time that a machine may be running on the net unattended. Naturally leaving a machine on the net without monitoring it is not recommended, but it's the typical practise for firewall type devices (and no-one seems to want to pay extra for management).

Quoted 2 lines

I hadn't realized that you already had working policies for X-Window. That does encourage me!

Why would you want X on a firewall?

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
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/~russell/  My home page


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#4 lore raw
In reply to Akshay Gangam
Quoted 7 lines · Akshay Gangam

I have a running installed on a stand alone system, with lsm2.4+selinux+RH8.0 on it.
The kernel is in permissive mode, but I have not moved to enforcing mode, since I not sure of the support for XWindows. Does changing is enforcing mode, leave me deprived of Emacs/Xwindows to read documentation or to open multiple terminal sessions ?

You need to enable the X-related domains (via sepcut or by directly moving up the .te files from policy/domains/program/unused) and reload your policy. You also need a patched [xgk]dm if you want to run an X Display Manager; we don't provide one, but others have supplied patches. With regard to knowing whether it is safe to move to enforcing mode, you need to study your logs (dmesg output or /var/log/messages) to see what would be denied if you were to switch into enforcing mode. Keep in mind that a denial is typically only logged once when in permissive mode (and then retained in the cache until you reload your policy or switch into enforcing mode), so you need to check the full log from when you booted.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.