Displaying 1 result from an estimated 1 matches for "setif".
Did you mean:
netif
2007 Jan 20
1
Configurable restrictions
...ng in
sshd_config:
ChannelReqDeny shell g restricted
ChannelReqDeny exec g restricted
ChannelReqDeny x11-req u *
... to deny access to those channel requests for group 'restricted'.
Using my modified sftp-server, I can also write this:
Subsystem sftp /path/to/sftp-server
SetIf g restricted Subsystem sftp /path/to/sftp-server --chroot
... and anyone in the same group is jailed to the cwd, i.e. their home
directory.
The above works fine, but I want to expand it further. Bearing in mind
that 2 days ago I'd never before looked at the SSH code or the RFCs, I
thought...