diff options
author | Bill Nottingham <notting@redhat.com> | 2010-06-29 12:53:37 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-06-29 12:53:37 -0400 |
commit | edbe224afa7d6fe5a9cfccb1b49e661d364a5a01 (patch) | |
tree | edbe3ceefd0f06b189528d23f7881b5a785e6160 /src/sushell.8 | |
parent | cf6b7b273229021819a887c54b2a2bd76749e067 (diff) | |
download | initscripts-edbe224afa7d6fe5a9cfccb1b49e661d364a5a01.tar initscripts-edbe224afa7d6fe5a9cfccb1b49e661d364a5a01.tar.gz initscripts-edbe224afa7d6fe5a9cfccb1b49e661d364a5a01.tar.bz2 initscripts-edbe224afa7d6fe5a9cfccb1b49e661d364a5a01.tar.xz initscripts-edbe224afa7d6fe5a9cfccb1b49e661d364a5a01.zip |
Don't directly execute bash for single-user mode, as that has SELinux issues. (#540216, #584443, #585053)
If upstart directly runs bash for single-user mode, there's no way for
SELinux to set the proper context (to distinguish it from other init scripts).
Inserting a helper binary in the way allows for this.
While we're changing this, we make it configurable so it's easily possible
for people to use sulogin if they so desire.
Diffstat (limited to 'src/sushell.8')
-rw-r--r-- | src/sushell.8 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/sushell.8 b/src/sushell.8 new file mode 100644 index 00000000..9832a732 --- /dev/null +++ b/src/sushell.8 @@ -0,0 +1,16 @@ +.TH SUSHELL 8 "Red Hat, Inc" \" -*- nroff -*- +.SH NAME +sushell \- execute the single-user shell +.SH SYNOPSIS +.B sushell +.SH DESCRIPTION +.B sushell +executes the single-user shell. By default, this is +\fI/bin/bash\fP +This can be configured via the +.B SUSHELL +environment variable. +.SH NOTES +.B sushell +is an implementation detail, required for proper SELinux +usage. It is not intended to be run regularly. |