Skip to contentSkip to conversation

7 simple noobie questions = 1-line answers ok :)

DISCUSSION green bean 3 participants 3 messages May 27, 2008 SELinux security module

lore
Share & tools
lore

green bean

author
#0 lore raw

7 simple noobie questions:
1. is selinux based on debian? what kernel - 2.6 or 2.4 ?
2. is there a built-in desktop like KDE or gnome? or is it command line only?

3. what is its install mechanism?
if its debian based im assuming its

$ apt-get install foo.bar

4. does selinux have a root user or is it "rootless."

5. are there new limits on

$ su or
$ sudo

6. can you do this

$ chmod  2000 foo.bar
or
$ chmod 4000 foo.bar

7. is Apache compatible/easy to use with seLinux?
##########################
8. fwiw, i was thinking of using seLinux as an experiment in our WISP
socalfreenet dot org, as a router or AP. do-able or bad idea?

--1capybara

--
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

Now, I am new to the list (just joined today) but I belive you completly missed the boat. SELinux is not itself a distro but a hardening tool. Here is a good FAQ about SELinux that I find myself going to every now and then:

http://www.crypt.gen.nz/selinux/faq.html

Quoted 34 lines · green bean

7 simple noobie questions:
1. is selinux based on debian? what kernel - 2.6 or 2.4 ?
2. is there a built-in desktop like KDE or gnome? or is it command line only?

3. what is its install mechanism?
if its debian based im assuming its

$ apt-get install foo.bar

4. does selinux have a root user or is it "rootless."

5. are there new limits on

$ su or
$ sudo

6. can you do this

$ chmod  2000 foo.bar
or
$ chmod 4000 foo.bar

7. is Apache compatible/easy to use with seLinux?
##########################
8. fwiw, i was thinking of using seLinux as an experiment in our WISP
socalfreenet dot org, as a router or AP. do-able or bad idea?

--1capybara

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

Signature · 2 lines
Danny Howerton
http://metacortexsecurity.com
#2 lore raw
In reply to green bean
Quoted 1 line · green bean

7 simple noobie questions:

Resources that may help you:
http://www.nsa.gov/selinux/info/faq.cfm
http://selinuxproject.org/page/User_Resources

Quoted 2 lines

1. is selinux based on debian? what kernel - 2.6 or 2.4 ?
2. is there a built-in desktop like KDE or gnome? or is it command line only?

It isn't a distribution, see above.

Quoted 3 lines

3. what is its install mechanism?
if its debian based im assuming its

$ apt-get install foo.bar

Depends on your particular distribution; some include SELinux enabled by default; others have it as an optional feature. Consult the distro-specific website mentioned on the User Resources page.

Quoted 1 line

4. does selinux have a root user or is it "rootless."

There is no inherent notion of a root user; it depends on your policy configuration as to whether any single role/domain is all powerful.

Quoted 3 lines

5. are there new limits on

$ su or
$ sudo

The ability to use capabilities is controlled by SELinux orthogonally to the normal restrictions. Running su or sudo is not in itself sufficient to gain a given capability under SELinux.

Quoted 4 lines

6. can you do this

$ chmod  2000 foo.bar
or
$ chmod 4000 foo.bar

Yes, but the significance is not the same; the program/process is still confined by the SELinux policy based on its security domain orthogonal to the normal restrictions.

Quoted 1 line

7. is Apache compatible/easy to use with seLinux?

Yes; there has been SELinux policy for apache for a long time.

Quoted 3 lines

##########################
8. fwiw, i was thinking of using seLinux as an experiment in our WISP
socalfreenet dot org, as a router or AP. do-able or bad idea?

SELinux only applies further restrictions, so it shouldn't do any harm.

Signature · 8 lines
Stephen Smalley
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.