lkml.org 
[lkml]   [1997]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: again security proposal
Hmm. But *generally* this is security hole. And it must be closed on
kernel-vfs level. For exclude standard violations, this must be
confirugable.

On Mon, 29 Dec 1997, [ISO-8859-1] Johan MyrИen wrote:

> On Mon, 29 Dec 1997, Yuri Kuzmenko wrote:
>
> > No... See my message. chown must be run from root. This is "standard"
> > operation (changing user uid, etc).
>
> Well, if changing the user id is a "standard" operation (which
> it should not be, if you do some planning), the correct way to
> change ownership of the user's files is the following:
>
> find / -uid 123 -exec chown user {} \; # Old user id = 123
>
> This should be obvious if you think of the semantics of the
> UNIX file system.
>
> --
> Johan Myreen
> jem@iki.fi
>


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