All of lore.kernel.org
 help / color / mirror / Atom feed
* login as sysadm_r remotely
@ 2004-10-23 11:23 Rene Cunningham
  2004-10-24 19:57 ` Ryan Graham
  2004-10-26 16:03 ` Russell Coker
  0 siblings, 2 replies; 4+ messages in thread
From: Rene Cunningham @ 2004-10-23 11:23 UTC (permalink / raw)
  To: SELinux

Gday,

Im trying to allow remote logins via ssh as root to use the sysadm_r role
by default. At the moment root logs in using staff_r and newrole -r needs
to be executed. I do want to force logins via tty's to default to
staff_r though.

Looking at /etc/selinux/context/root_default_contexts i just need to
unhash the following

system_r:sshd_t sysadm_r:sysadm_t staff_r:staff_t user_r:user_t

I rebuild the policy, though root still logs in as staff_r via ssh.  

Im running debian with selinux-policy-default 1.14-2.

How do i enable this?

-- 

Rene Cunningham
DCLabs Pty Ltd
http://www.dclabs.com.au

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-10-26 16:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-23 11:23 login as sysadm_r remotely Rene Cunningham
2004-10-24 19:57 ` Ryan Graham
2004-10-24 22:19   ` Rene Cunningham
2004-10-26 16:03 ` Russell Coker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.