Bug 425982
Summary: | (selinux) chsh fails to set scponly | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Warren Togami <wtogami> |
Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Current | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-01-30 19:20:16 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Warren Togami
2007-12-17 15:55:56 UTC
NOTE: scponly is not a normal general-purpose shell. It is meant to restrict a user to use only scp or sftp for file transfers. They should not be able to run other commands or obtain a real shell. Is there any way to restrict scponly from using other commands or obtaining a real shell? The latest updated policy should fix this, selinux-policy-3.2.4-3 allows chsh/chfn to execute bin_t. Currently we transition to usertype_t when you login via ssh. (unconfined_t, user_t, guest_t) So we could attempt a special label for this shell, but I think we would end up needing to modify sshd or pam_selinux to get it to work correctly. Fixed in selinux-policy-3.2.4-3.fc9 Bulk closing all bugs in Fedora updates in the modified state. If you bug is not fixed, please reopen. |