Re: [PATCH 3/4] security: capabilities patch (version 0.4.4), part 3/4: introduce new capabilities

Pavel Machek
2006-09-17T21:25:00Z

Hi!

> >>Can a non-root user create limited-rights processes without assistance
> >>from the sysadmin, under SElinux?
> >
> >SELinux uses a restrictive model, where privileges can only be removed,
> >not added.
> >
> >
> I think he was asking if a non-admin user can create processes of less
> privilege without becoming root. The answer is yes, however, it is
> policy driven. Users will have numerous 'derived' types that are less
> privilege than, for example, their interactive shell. For example,
> user_irc_t or user_evolution_t. The transitions will happen when the
> user runs irc or evolution and those apps will be limited to the rights
> they require. These are fine grained though, and mandatory. These
> capabilities are so course grained I just can't see anyone ever using them.

Andrea already has his "seccomp" thing in kernel.... which is
basically "running without _any_ rights". So yes, this is useful.

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html