All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ryan Graham <ryan.graham@gmail.com>
To: Rene Cunningham <rene@dclabs.com.au>
Cc: selinux@tycho.nsa.gov
Subject: Re: login as sysadm_r remotely
Date: Sun, 24 Oct 2004 12:57:58 -0700	[thread overview]
Message-ID: <42efd06904102412571e81d4e1@mail.gmail.com> (raw)
In-Reply-To: <20041023112327.GW8603@eden.office.dclabs.com.au>

I think they built a toggle for this into tunable.te. At least it is
there in whatever version I am running on fedora.


On Sat, 23 Oct 2004 21:23:27 +1000, Rene Cunningham <rene@dclabs.com.au> wrote:
> 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.
>

--
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.

  reply	other threads:[~2004-10-24 19:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-23 11:23 login as sysadm_r remotely Rene Cunningham
2004-10-24 19:57 ` Ryan Graham [this message]
2004-10-24 22:19   ` Rene Cunningham
2004-10-26 16:03 ` Russell Coker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42efd06904102412571e81d4e1@mail.gmail.com \
    --to=ryan.graham@gmail.com \
    --cc=rene@dclabs.com.au \
    --cc=ryan.graham+cr@gmail.com \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.