~ubuntu-branches/ubuntu/precise/policycoreutils/precise

« back to all changes in this revision

Viewing changes to newrole/newrole.1

  • Committer: Bazaar Package Importer
  • Author(s): Caleb Case, Caleb Case, Joseph Jackson IV
  • Date: 2008-02-09 21:36:48 UTC
  • mfrom: (1.2.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20080209213648-lgax8nm8jer4ld25
Tags: 2.0.43-0ubuntu1
[ Caleb Case ]
* New upstream SVN HEAD
 + Merged support for non-interactive newrole command invocation from
   Tim Reed.
 + Update Makefile to not build restorecond if
   /usr/include/sys/inotify.h is not present
 + Drop verbose output on fixfiles -C from Dan Walsh.
 + Fix argument handling in fixfiles from Dan Walsh.
 + Enhance boolean support in semanage, including using the .xml
   description when available, from Dan Walsh.
 + load_policy initial load option from Chad Sellers.
 + Fix semodule option handling from Dan Walsh.
 + Add deleteall support for ports and fcontexts in semanage from Dan
   Walsh.
 + Add genhomedircon script to invoke semodule -Bn from Dan Walsh.
 + Update semodule man page for -D from Dan Walsh.
 + Add boolean, locallist, deleteall, and store support to semanage
   from Dan Walsh.
 + Improve semodule reporting of system errors from Stephen Smalley.
 + Fix setfiles selabel option flag setting for 64-bit from Stephen
   Smalley.
 + Remove genhomedircon script (functionality is now provided
   within libsemanage) from Todd Miller.
 + Fix genhomedircon searching for USER from Todd Miller
 + Install run_init with mode 0755 from Dan Walsh.
 + Fix chcat from Dan Walsh.
 + Fix fixfiles pattern expansion and error reporting from Dan Walsh.   
 + Optimize genhomedircon to compile regexes once from Dan Walsh.
 + Fix semanage gettext call from Dan Walsh.
 + Disable dontaudits via semodule -D
 + Rebase setfiles to use new labeling interface.
 + Fixed setsebool (falling through to error path on success).
 + Merged genhomedircon fixes from Dan Walsh.
 + Merged setfiles -c usage fix from Dan Walsh.
 + Merged restorecon fix from Yuichi Nakamura.
 + Dropped -lsepol where no longer needed.
 + Merge newrole support for alternate pam configs from Ted X Toth.
 + Merged merging of restorecon into setfiles from Stephen Smalley.
 + Merged genhomedircon fix to find conflicting directories correctly
   from Dan Walsh.
* debian/policycoreutils.restorecon.init
  * Removing improper '$' 

[ Joseph Jackson IV ]
* debian/control
  - Update Debian Maintainer field

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
In particular, an argument of -- -c will cause the next argument to be
48
48
treated as a command by most command interpreters.
49
49
.PP
 
50
If a command argument is specified to newrole and the command name is found
 
51
in /etc/selinux/newrole_pam.conf, then the pam service name listed in that
 
52
file for the command will be used rather than the normal newrole pam
 
53
configuration.  This allows for per-command pam configuration when
 
54
invoked via newrole, e.g. to skip the interactive re-authentication phase.
 
55
.PP
50
56
The new shell will be the shell specified in the user's entry in the 
51
57
.I /etc/passwd
52
58
file.
81
87
   # id -Z
82
88
   staff_u:sysadm_r:sysadm_t:Secret
83
89
 
 
90
.PP
 
91
Running a program in a given role or level:
 
92
   # newrole -r sysadm_r -- -c "/path/to/app arg1 arg2..."
 
93
   # newrole -l Secret -- -c "/path/to/app arg1 arg2..."
 
94
 
84
95
.SH FILES
85
96
/etc/passwd - user account information
86
97
.br
87
98
/etc/shadow - encrypted passwords and age information
88
99
.br
89
100
/etc/selinux/<policy>/contexts/default_type - default types for roles
 
101
.br
90
102
/etc/selinux/<policy>/contexts/securetty_types - securetty types for level changes
91
103
.br
 
104
/etc/selinux/newrole_pam.conf - optional mapping of commands to separate pam service names
 
105
.br
92
106
.SH SEE ALSO
93
107
.B runcon
94
108
(1)