[Bug 2062] New: Add support for a ForceShell sshd option

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Jan 15 07:34:26 EST 2013


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: unassigned-bugs at mindrot.org
          Reporter: imorgan at nas.nasa.gov

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.


More information about the openssh-bugs mailing list