Mailinglist Archive: opensuse-security (49 mails)

< Previous Next >
[opensuse-security] Restrict ssh command execution
  • From: Boyan Tabakov <blade.alslayer@xxxxxxxxx>
  • Date: Sat, 16 Dec 2006 00:36:41 +0200
  • Message-id: <200612160036.45724.blade.alslayer@xxxxxxxxx>
Is it possible to restrict certain users to executing only one specific
command on the server with ssh? No interactive login should be allowed and no
other commands should be accepted. If possible - how? Didn't see any options
in sshd_config that looked promising... One think that came to mind is using
the shell field in the /etc/passwd file (setting it to some custom script).
Any other ideas?

Blade hails you...

Join my soul the Hunter in the sky
< Previous Next >