On Mon, May 26, 2003 at 01:11:52AM +0200, Igmar Palsenberg wrote: > > Can we restrict which users can use > > ssh and which can't? For the rest of the users, we're using a AllowGroups or DenyGroups > > restricted shell with telnet, but with ssh, we haven't found a way to > > prevent ssh from allowing a shell command (e.g. ssh <host> ls -l) and > > forcing the user to only go through the menu. > > Probably not without hacking the ssh sources. the shell in /etc/passwd is used to run whatever command the user specifies i think. so as long as your restricted shell won't honor -c command it should be fine. -- Ethan Benson http://www.alaska.net/~erbenson/
Attachment:
pgp00088.pgp
Description: PGP signature