All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems related to using SELinux
@ 2009-04-09 15:28 James Carter
  2009-04-23  4:27 ` Serge E. Hallyn
  0 siblings, 1 reply; 2+ messages in thread
From: James Carter @ 2009-04-09 15:28 UTC (permalink / raw)
  To: SELinux

1. Differences between different distributions
	a. setroubleshoot
	b. Denial log location
	c. init system
	d. Use of MLS
2. The tools related to SELinux are not consistently named
	a. It is hard to discover the right command.
3. Inadequate documentation
	a. Of the low-level mechanisms
	b. For the policy author
	c. For the administrator
	d. For the user

-- 
James Carter <jwcart2@tycho.nsa.gov>
National Security Agency


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problems related to using SELinux
  2009-04-09 15:28 Problems related to using SELinux James Carter
@ 2009-04-23  4:27 ` Serge E. Hallyn
  0 siblings, 0 replies; 2+ messages in thread
From: Serge E. Hallyn @ 2009-04-23  4:27 UTC (permalink / raw)
  To: James Carter; +Cc: SELinux

Quoting James Carter (jwcart2@tycho.nsa.gov):
> 1. Differences between different distributions
> 	a. setroubleshoot
> 	b. Denial log location
> 	c. init system
> 	d. Use of MLS
> 2. The tools related to SELinux are not consistently named
> 	a. It is hard to discover the right command.
> 3. Inadequate documentation
> 	a. Of the low-level mechanisms
> 	b. For the policy author
> 	c. For the administrator
> 	d. For the user

Just to elaborate on the documentation for the user...

Something which i would want to know how to do as a new admin or owner
of an selinux system is lock down a userid to something other than
unconfined_t. I.e. one userid to play games, one to do banking, etc.
This should be pretty simple, maybe

	useradd xa
	semanage user -a -R user_r xa
	semanage login -a -s xa xa

but figuring out the right recipes can be unnecessarily painful.

A few specific things which I think could help users (at least
those who don't use the guis):

1. 'semanage login help' (for instance) could give context-specific help

2. man adduser/useradd could point either to semanage, or to selinux.8
(and smack.8 if these are part of the man-pages project).

3. selinux.8 could use either a section on user/domain lockdown, or
a pointer to semanage, or a pointer to a seuser.8 or somesuch overview
file.

-serge

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-23  4:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-09 15:28 Problems related to using SELinux James Carter
2009-04-23  4:27 ` Serge E. Hallyn

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.