From: Michael C Thompson <thompsmc@us.ibm.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: SE Linux <selinux@tycho.nsa.gov>
Subject: Re: [RFC] clarifications for -l to newrole.1
Date: Sun, 14 Jan 2007 14:02:42 -0600 [thread overview]
Message-ID: <45AA8C62.4020800@us.ibm.com> (raw)
In-Reply-To: <1168638769.7993.604.camel@moss-spartans.epoch.ncsc.mil>
[-- Attachment #1: Type: text/plain, Size: 1014 bytes --]
Stephen Smalley wrote:
> On Fri, 2007-01-12 at 10:19 -0600, Michael C Thompson wrote:
>> Stephen Smalley wrote:
>> <snip>
>>> Looks sane as far as content is concerned, although I don't understand
>>> the author ordering (I'd typically expect alphabetically by last name or
>>> by amount of involvement or by date of involvement). But it doesn't
>>> apply (whitespace damage) for me. Also, please make the patch -p1
>>> appliable from the top of the tree, e.g. result of svn diff
>>> policycoreutils.
>> I've reordered the authors in alphabetical order, and re-patched with -p1.
>
> Still whitespace damaged. See:
> http://mbligh.org/linuxdocs/Email/Clients/Thunderbird
>
> Or just attach it.
Bugger, that's what I normally do, but thought this would be ok... guess
not :)
> BTW, newrole.c also has an Authors list in the comments, so either needs
> to be updated or dropped.
Added the names that are in the man page, I'm not sure if its 100% or
not, but its included with the patch.
Thanks,
Mike
---
[-- Attachment #2: newrole-man_author.patch --]
[-- Type: text/x-diff, Size: 2251 bytes --]
diff -Naur policycoreutils-1.33.12.orig/newrole/newrole.1 policycoreutils-1.33.12/newrole/newrole.1
--- policycoreutils-1.33.12.orig/newrole/newrole.1 2007-01-11 13:01:39.000000000 -0600
+++ policycoreutils-1.33.12/newrole/newrole.1 2007-01-12 10:15:14.000000000 -0600
@@ -57,16 +57,45 @@
.B --version
shows the current version of newrole
.PP
+.SH EXAMPLE
+.br
+Changing role:
+ # id -Z
+ staff_u:staff_r:staff_t:SystemLow-SystemHigh
+ # newrole -r sysadm_r
+ # id -Z
+ staff_u:sysadm_r:sysadm_t:SystemLow-SystemHigh
+
+Changing sensitivity only:
+ # id -Z
+ staff_u:sysadm_r:sysadm_t:Unclassified-SystemHigh
+ # newrole -l Secret
+ # id -Z
+ staff_u:sysadm_r:sysadm_t:Secret-SystemHigh
+
+.PP
+Changing sensitivity and clearance:
+ # id -Z
+ staff_u:sysadm_r:sysadm_t:Unclassified-SystemHigh
+ # newrole -l Secret-Secret
+ # id -Z
+ staff_u:sysadm_r:sysadm_t:Secret
+
.SH FILES
/etc/passwd - user account information
.br
/etc/shadow - encrypted passwords and age information
+.br
+/etc/selinux/<policy>/contexts/default_type - default types for roles
+.br
.SH SEE ALSO
-.B su
-(1),
-.B runas
+.B runcon
(1)
.SH AUTHORS
.nf
-Tim Fraser (tfraser@tislabs.com)
-Anthony Colatrella (amcolat@epoch.ncsc.mil)
+Anthony Colatrella
+Tim Fraser
+Steve Grubb <sgrubb@redhat.com>
+Darrel Goeddel <DGoeddel@trustedcs.com>
+Michael Thompson <mcthomps@us.ibm.com>
+Dan Walsh <dwalsh@redhat.com>
diff -Naur policycoreutils-1.33.12.orig/newrole/newrole.c policycoreutils-1.33.12/newrole/newrole.c
--- policycoreutils-1.33.12.orig/newrole/newrole.c 2007-01-11 13:01:39.000000000 -0600
+++ policycoreutils-1.33.12/newrole/newrole.c 2007-01-14 13:56:41.000000000 -0600
@@ -36,8 +36,14 @@
* setuid root, so that it can read the shadow passwd file.
*
*
- * Authors: Tim Fraser ,
- * Anthony Colatrella <amcolat@epoch.ncsc.mil>
+ * Authors:
+ * Anthony Colatrella <amcolat@epoch.ncsc.mil>
+ * Tim Fraser
+ * Steve Grubb <sgrubb@redhat.com>
+ * Darrel Goeddel <DGoeddel@trustedcs.com>
+ * Michael Thompson <mcthomps@us.ibm.com>
+ * Dan Walsh <dwalsh@redhat.com>
+ *
* Various bug fixes by Stephen Smalley <sds@epoch.ncsc.mil>
*
*************************************************************************/
prev parent reply other threads:[~2007-01-14 20:02 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-11 20:39 [RFC] clarifications for -l to newrole.1 Michael C Thompson
2007-01-11 21:02 ` Stephen Smalley
2007-01-11 21:24 ` Stephen Smalley
2007-01-11 22:07 ` Russell Coker
2007-01-12 14:36 ` Stephen Smalley
2007-01-12 16:11 ` Michael C Thompson
2007-01-12 17:22 ` Casey Schaufler
2007-01-12 18:07 ` Joe Nall
2007-01-12 19:48 ` Casey Schaufler
2007-01-12 17:57 ` Stephen Smalley
2007-01-13 6:26 ` Russell Coker
2007-01-11 23:34 ` Michael C Thompson
2007-01-12 0:04 ` Michael C Thompson
2007-01-12 15:16 ` Stephen Smalley
2007-01-12 16:19 ` Michael C Thompson
2007-01-12 21:52 ` Stephen Smalley
2007-01-14 20:02 ` Michael C Thompson [this message]
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=45AA8C62.4020800@us.ibm.com \
--to=thompsmc@us.ibm.com \
--cc=sds@tycho.nsa.gov \
--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.