diff options
author | James Meyer <james.meyer@operamail.com> | 2012-10-05 01:24:41 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-10-05 01:24:41 (GMT) |
commit | 3b6edecc192dea64ff208f0f0322f88329ee7c05 (patch) | |
tree | ac6323027a000838a7e358374ed4c18502c6985b /abs/extra/tigervnc/tiger.install | |
parent | 5454066f299d7a6d2b1330b93aace2375cae2417 (diff) | |
download | linhes_pkgbuild-3b6edecc192dea64ff208f0f0322f88329ee7c05.zip linhes_pkgbuild-3b6edecc192dea64ff208f0f0322f88329ee7c05.tar.gz linhes_pkgbuild-3b6edecc192dea64ff208f0f0322f88329ee7c05.tar.bz2 |
tigervnc: add sudo rules for the vncsvc user
Diffstat (limited to 'abs/extra/tigervnc/tiger.install')
-rw-r--r-- | abs/extra/tigervnc/tiger.install | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/abs/extra/tigervnc/tiger.install b/abs/extra/tigervnc/tiger.install index 5aa9395..87e7b5e 100644 --- a/abs/extra/tigervnc/tiger.install +++ b/abs/extra/tigervnc/tiger.install @@ -1,12 +1,14 @@ post_install(){ groupadd -g 78 vncsvc &>/dev/null useradd -u 78 -m -g vncsvc -d /home/vncsvc -s /bin/bash vncsvc &>/dev/null + usermod -a -G mythtv vncsvc chown -R vncsvc:vncsvc /home/vncsvc &>/dev/null } post_upgrade(){ getent group vncsvc >/dev/null 2>&1 || groupadd -g 78 vncsvc &>/dev/null getent passwd vncsvc >/dev/null 2>&1 || useradd -u 78 -g vncsvc -m -d /home/vncsvc -s /bin/bash vncsvc &>/dev/null + usermod -a -G mythtv vncsvc } post_remove(){ |