mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-12-24 23:59:39 +01:00
Rpm: group kasmvnc -> kasmvnc-cert
I feel it'd be confusing to use kasmvnc group to provide access to the TSL certificate. Groups like that control whether you can run software, e.g. "docker" group. Using "-cert" clearly shows it's just for certificate access. Not unlide ssl-cert group in Debian.
This commit is contained in:
parent
969c64ced3
commit
ece969fd05
@ -52,7 +52,7 @@ RUN yum localinstall -y /tmp/*.rpm
|
|||||||
### END CUSTOM STUFF ###
|
### END CUSTOM STUFF ###
|
||||||
|
|
||||||
RUN chown -R 1000:0 $HOME
|
RUN chown -R 1000:0 $HOME
|
||||||
USER 1000:kasmvnc
|
USER 1000:kasmvnc-cert
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
RUN mkdir ~/.vnc && echo '/usr/bin/xfce4-session &' >> ~/.vnc/xstartup && \
|
RUN mkdir ~/.vnc && echo '/usr/bin/xfce4-session &' >> ~/.vnc/xstartup && \
|
||||||
|
@ -55,7 +55,7 @@ RUN dnf localinstall -y --allowerasing /tmp/*.rpm
|
|||||||
### END CUSTOM STUFF ###
|
### END CUSTOM STUFF ###
|
||||||
|
|
||||||
RUN chown -R 1000:0 $HOME
|
RUN chown -R 1000:0 $HOME
|
||||||
USER 1000:kasmvnc
|
USER 1000:kasmvnc-cert
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
|
|
||||||
RUN mkdir ~/.vnc && echo '/usr/bin/lxsession -s LXDE &' >> ~/.vnc/xstartup && \
|
RUN mkdir ~/.vnc && echo '/usr/bin/lxsession -s LXDE &' >> ~/.vnc/xstartup && \
|
||||||
|
@ -24,7 +24,7 @@ cd $RPM_BUILD_ROOT/usr/bin && mv Xkasmvnc Xvnc && \
|
|||||||
ln -s kasmvncpasswd vncpasswd
|
ln -s kasmvncpasswd vncpasswd
|
||||||
cd $RPM_BUILD_ROOT/usr/share/man/man1 && mv Xkasmvnc.1 Xvnc.1 && \
|
cd $RPM_BUILD_ROOT/usr/share/man/man1 && mv Xkasmvnc.1 Xvnc.1 && \
|
||||||
mv kasmvncserver.1 vncserver.1 && mv kasmvncconfig.1 vncconfig.1 && \
|
mv kasmvncserver.1 vncserver.1 && mv kasmvncconfig.1 vncconfig.1 && \
|
||||||
mv kasmvncpasswd.1 vncpasswd.1
|
cp kasmvncpasswd.1 vncpasswd.1
|
||||||
|
|
||||||
%files
|
%files
|
||||||
/usr/bin/*
|
/usr/bin/*
|
||||||
@ -39,7 +39,7 @@ cd $RPM_BUILD_ROOT/usr/share/man/man1 && mv Xkasmvnc.1 Xvnc.1 && \
|
|||||||
- Initial release of the rpm package.
|
- Initial release of the rpm package.
|
||||||
|
|
||||||
%post
|
%post
|
||||||
kasmvnc_group="kasmvnc"
|
kasmvnc_group="kasmvnc-cert"
|
||||||
|
|
||||||
create_kasmvnc_group() {
|
create_kasmvnc_group() {
|
||||||
if ! getent group "$kasmvnc_group" >/dev/null; then
|
if ! getent group "$kasmvnc_group" >/dev/null; then
|
||||||
|
Loading…
Reference in New Issue
Block a user