Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 611959 Details for
Bug 856403
shellinabox needs to run as a particular user if it is to have access to .pem files.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to spec to implement fix
shellinabox.spec.patch (text/plain), 1.96 KB, created by
Joel
on 2012-09-12 00:22:09 UTC
(
hide
)
Description:
Patch to spec to implement fix
Filename:
MIME Type:
Creator:
Joel
Created:
2012-09-12 00:22:09 UTC
Size:
1.96 KB
patch
obsolete
>--- shellinabox.spec.orig 2012-08-30 06:03:32.000000000 -0700 >+++ shellinabox.spec 2012-09-11 17:20:30.068091684 -0700 >@@ -1,6 +1,6 @@ > Name: shellinabox > Version: 2.14 >-Release: 6%{?dist} >+Release: 7%{?dist} > Summary: Web based AJAX terminal emulator > Group: System Environment/Daemons > License: GPLv2 >@@ -9,11 +9,14 @@ > Source1: shellinaboxd.sysconfig > Source2: shellinaboxd.service > Source3: shellinaboxd.init >+Patch0: shellinaboxd-fixkeys.patch > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > > BuildRequires: openssl-devel%{?_isa} > BuildRequires: zlib-devel%{?_isa} > >+Requires(pre): shadow-utils >+ > %if 0%{?fedora} >= 15 || 0%{?rhel} > 6 > BuildRequires: systemd-units > Requires(post): systemd-sysv >@@ -36,6 +39,7 @@ > > %prep > %setup -q >+%patch0 -p0 > > %build > %configure >@@ -46,6 +50,7 @@ > rm -rf %{buildroot} > mkdir -p %{buildroot}%{_sbindir} > mkdir -p %{buildroot}%{_sysconfdir}/sysconfig >+mkdir -p %{buildroot}/var/run/shellinabox > > install -p -m 755 -D shellinaboxd %{buildroot}%{_sbindir}/shellinaboxd > install -p -m 644 -D shellinaboxd.1 %{buildroot}%{_mandir}/man1/shellinaboxd.1 >@@ -70,11 +75,19 @@ > > %if 0%{?fedora} >= 15 || 0%{?rhel} > 6 > >+%pre >+getent group shellinabox >/dev/null || groupadd -r shellinabox >+getent passwd shellinabox >/dev/null || \ >+ useradd -r -g shellinabox -d /var/run/shellinabox -s /sbin/nologin \ >+ -c "shellinabox daemon user account" shellinabox >+exit 0 >+ > %post > if [ $1 -eq 1 ] ; then > # Initial installation > /bin/systemctl daemon-reload >/dev/null 2>&1 || : > fi >+chown shellinabox.shellinabox /var/run/shellinabox > > %preun > if [ $1 -eq 0 ] ; then >@@ -115,6 +128,7 @@ > %files > %doc AUTHORS NEWS README README.Fedora GPL-2 COPYING > %config(noreplace) %{_sysconfdir}/sysconfig/shellinaboxd >+/var/run/shellinabox/ > %{_mandir}/man1/shellinaboxd.1.* > %{_sbindir}/shellinaboxd > %if 0%{?fedora} >= 15 || 0%{?rhel} > 6
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 856403
:
611957
| 611959