[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [suse-security] Execute a SSH command
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.
On Thu, 24 Jun 2004 15:09:47 +0200, Ingo Börnig <ingo@xxxxxxxxxx> wrote:
Am 24.06.2004 um 12:07 schrieb Joao Reis:
Hi to all,
I need to execute a command in a remote machine throw ssh, but that
command only can be executed by one user, for example
xpto. This and all other users (except root) cannot execute commands in
the remote machine with ssh except this particular
user for this particular command. Resuming, only the user xpto can
execute only this command with ssh. All others cannot
execute any command.
You should use sudo for this.
Any help ?
Any reference ?
Thanks to all in advance
Ingo Börnig <ingo at boernig.de>
pls ask for phone or snail address
\|/ "Do or do not. There is no try" - Yoda \|/
| 2000Comp - Consultoria e Informática, Lda |
| Tel: +351 22 941 99 32 |
\|/ | Fax: +351 22 941 99 34 | \|/
O | www: http://www.2000comp.pt | O
\| | João Reis | |/
/ \ |==============================================| / \
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