lkml.org 
[lkml]   [1999]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Subject: Re: ext3 to include capabilities?
Meelis Roos writes:
> ADC> if(setuid){
> ADC> if(root_owned && cap_header) use_cap_header();
> ADC> else use_setuid_bit();
> ADC> }
>
> But here root is still special. Somebody who has the permissions to
> create users may create a root user or change root's password and thus
> gain access to root and then to everything?

The capability to create users is the capability to edit /etc/passwd.
That implies being able to create root users. This has nothing to do
with Albert's scheme.

A correct administration tool which has CAP_EDIT_PASSWD will prevent
creating root users unless CAP_GOD is set.

Regards,

Richard....

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.033 / U:0.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site