[TriLUG] safe script to change ownership of a file or files.
Blackburn, Marvin
Marvin.Blackburn at glenraven.com
Sun Dec 19 13:47:06 EST 2004
I have a need have a non-priveleged user change ownership on a file to
another non-priveleged user.
Is there a secure why to allow this in RedHat ES 3.0 (ES does not allow
this currently)
Sudo might work; however, I wanted to be
sure that there was no way a "dangerous" parameter might be passed in,
i.e, one that might allow
an unintentional command to be executed.
i.e. mychangeown.sh filename == were filename could not be some type of
string that would
allow arbitrary code to execute.
------------------
Marvin Blackburn
Systems Administrator
Glen Raven
"He's no failure. He's not dead yet" --William Lloyd George
More information about the TriLUG
mailing list