Red Hat Bugzilla – Bug 427003
Context of git-shell is not shell_exec_t
Last modified: 2008-01-30 14:05:45 EST
Description of problem:
I have created a git user and set the SELinux user to guest_u. The shell for
this user has been changed to /usr/bin/git-shell. By default the context for
/usr/bin/git-shell is system_u:object_r:bin_t:s0. With this context the git user
cannot login and execute git-shell.
Changing the context of /usr/bin/git-shell to system_u:object_r:shell_exec_t:s0
fixes this problem.
In order to fix this temporarily I have added the following line to
/usr/bin/git-shell -- system_u:object_r:shell_exec_t:s0
Version-Release number of selected component (if applicable):
Fedora 8 with updates current as of Dec 29.
Fixed in selinux-policy-3.0.8-73.fc8
Bulk closing a old selinux policy bugs that were in the modified state. If the
bug is still not fixed. Please reopen.