Hi Lars,

Lars Nooden wrote on Sat, Nov 07, 2009 at 12:59:00PM +0200:

> I'm looking at the configuration for OpenSSH_5.3 and wish to force
> commands and chroot all users, except one group.

sshd_config(5):

        The arguments to Match are one or more criteria-pattern pairs.
        The available criteria are User, Group, Host, and Address.  The
        match patterns may consist of single entries or comma-separated
        lists and may use the wildcard and negation operators described
        in the PATTERNS section of ssh_config(5).

Try the negation operators.

> What is a way to unset the 'ForceCommand' configuration directive?

No idea, but it seems you won't need that.

Yours,
  Ingo

Reply via email to