Mailinglist Archive: opensuse-security (49 mails)

< Previous Next >
RE: [opensuse-security] Restrict ssh command execution
  • From: "Black, Alain" <ablack@xxxxxxxxxxxxxxxx>
  • Date: Fri, 15 Dec 2006 15:41:35 -0700
  • Message-id: <1066BDF1DAAA8040B54E0B5E270973100D4B2CFC@xxxxxxxxxxxxxxxxxxxxxxxx>

-----Original Message-----
From: Boyan Tabakov [mailto:blade.alslayer@xxxxxxxxx]
Sent: Friday, December 15, 2006 3:37 PM
To: opensuse-security@xxxxxxxxxxxx
Subject: [opensuse-security] Restrict ssh command execution

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
in sshd_config that looked promising... One think that came to mind is
the shell field in the /etc/passwd file (setting it to some custom
Any other ideas?


I have successfully used changing the shell field in /etc/passwd many

To unsubscribe, e-mail: opensuse-security+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-security+help@xxxxxxxxxxxx

< Previous Next >