Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

chroot and no terminal all users but one

13 views
Skip to first unread message

Reginald Blank

unread,
May 3, 2012, 6:30:51 AM5/3/12
to
I have successfully added a rule to automatically chroot and deny terminal all users, but I would like to exclude a single user from that rule. The problem is that I can't seem to get the match to work:

Match User !excludeduser
...

Doesn't seem to work. I've also tried adding an overriding

Match User excludeduser
chroot ...
forcecommand ...

But I don't know how to make these reset to normal.
0 new messages