[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Limiting User Commands



> I feel the need to learn something new today. How could the 
> user replace
> the root owned files in a directory that they own?
> 

Suppose the root-owned file (readable for non-root user) is a. Then one does
'cp a b; rm a; mv b a' and we have the same file a owned by the regular
user. Key observation here is that the non-root user ownes the directory,
hence can remove files.

HTH
Dan



Reply to: