https://bugzilla.mindrot.org/show_bug.cgi?id=2062
Bug ID: 2062
Summary: Add support for a ForceShell sshd option
Classification: Unclassified
Product: Portable OpenSSH
Version: -current
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: sshd
Assignee: [email protected]
Reporter: [email protected]
Created attachment 2207
--> https://bugzilla.mindrot.org/attachment.cgi?id=2207&action=edit
Add a ForceShell option to override the user's shell
This patch adds a ForceShell option to sshd to override the user's
shell. This can be used in a Match block to conditionally replace the
user's shell with a restricted shell such as rksh, scponly or authpf.
For example,
Match Address !192.168.10.0/24
ForceShell /usr/sbin/authpf
This provides more flexibility than merely changing the user's shell in
the passwd file. It also makes it possible to override the shell when
LDAP or NIS is used for user information.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs