Re: again security proposal

=?ISO-8859-1?Q?Johan_Myr=E9en?= (jem@vistacom.fi)
Mon, 29 Dec 1997 19:29:49 +0200 (EET)


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