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

Re: [suse-security] Execute a SSH command



The Thursday 2004-06-24 at 17:33 +0200, Ingo Börnig wrote:

> How do take care that the command cannot be executed by another user?

By chowning it to that user, for example, and giving it exec permision to 
owner only (u,x,g-x,o-x). Of course, root would still be able to run it.

You could install it in /home/user/bin, for example, so that root would 
not accidentally run it. He could still run it intentionally, though.

Perhaps with acl - dunno about that.

-- 
Cheers,
       Carlos Robinson


-- 
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here