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

Re: [suse-security] Execute a SSH command



Joao Reis wrote:
Hi Ingo,

But sudo isn't to be used just in the local machine? I want to remotely execute a command, and the user should not have permissions to execute any other command, even if he has permissions on the remote to do so.

ssh fred@foobar 'sudo ......'

--
Until later, Geoffrey                     Registered Linux User #108567
Building secure systems in spite of Microsoft

--
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