Running sshd shells in sysadm_t
I noticed that sshd shells are, by default, run in user_t and are allowed to be run in sysadm_t as well.
Is there some way to make them run in sysadm_t by default when certain users log in?
Signature · 4 lines
-- You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 5 lines · Justin Smith
I noticed that sshd shells are, by default, run in
user_tand are allowed to be run insysadm_tas well.Is there some way to make them run in
sysadm_tby default when certain users log in?
This is determined by the /etc/security/default_context file. At present, sshd simply uses the default security context for the user (rather than prompting for a context), since it can be used non-interactively for remote commands or remote copies.
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.