Skip to contentSkip to conversation

SELinux and security tools?

DISCUSSION Subba Rao 2 participants 2 messages Nov 7, 2002 SELinux security module

lore
Share & tools
lore

Subba Rao

author
#0 lore raw

Thank you for replying. In the past I would login as root to use these tools. My current practice is to use 'sudo' to use these security tools. I will login as a regular user but use 'sudo' to use nessus or tcpdump etc.

One basic question about policy, is this some configuration file that you develop based on your needs and then use it to compile a new kernel?

Subba Rao
[email protected]
2002-11-07

======= At 2002-11-07, 00:49:00 you wrote: =======

Quoted 19 lines · Wayne Salamon
Quoted 9 lines · Subba Rao
Quoted 4 lines

I am planning to install SELinux on one of my laptop. The key tools I plan to use are security tools such as Nessus, nmap, Snort and tcpdump. Will these tools work well on on SELinux? Has anyone experienced problems with these tools on SELinux?

There shouldn't be a problem running these utilities under SELinux, but
you will have to modify the policy for some of them. tcpdump is already known to the example policy (in the netutils domain), as is snort (it has

One thing to note is that network utility programs such as those have the sample policy setup to allow them to be run from an administrative session (sysadm_r). If you want to run them from a laptop then you are probably doing so not as an administrative task but to use a laptop as a workstation or test machine for administering other machines on the network. Therefore you'll probably want to run them from user_r instead which will require some minor adjustments to the policy.

Quoted 6 lines

For a while I have been thinking of setting up the policy to make it easier to allow separate domains for ping and netutils when run from different user roles. However I don't want to enable it for everyone (as is done for most such domains) but to do it selectively for the particular roles that deserve it.

= = = = = = = = = = = = = = = = = = = =

--
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 2 lines · Subba Rao

One basic question about policy, is this some configuration file that you develop based on your needs and then use it to compile a new kernel?

It's a configuration file (rather: several), but you don't need to recompile the kernel to activate a new policy. There is a load_policy tool that can load/update a policy on a running system, much like you can activate modules at runtime with insmod.

Signature · 8 lines
PGP/GPG key: http://web.lemuria.org/pubkey.html
pub  1024D/2D7A04F5 2002-05-16 Tom Vogt <[email protected]>
     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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.