aboutsummaryrefslogtreecommitdiffstats
path: root/main/oscam/oscam.pre-install
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-04-29 21:21:46 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2014-04-29 21:28:05 +0000
commitcfed6fb2c495ecba7fb70cdcdcd5ee7f54f60f53 (patch)
treea57ada4ef566229730198042d2af25098c018d20 /main/oscam/oscam.pre-install
parent605aade15244a564bfc0bd76494523ba3243d233 (diff)
downloadaports-cfed6fb2c495ecba7fb70cdcdcd5ee7f54f60f53.tar.bz2
aports-cfed6fb2c495ecba7fb70cdcdcd5ee7f54f60f53.tar.xz
main/oscam: do not run as root
Diffstat (limited to 'main/oscam/oscam.pre-install')
-rw-r--r--main/oscam/oscam.pre-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/oscam/oscam.pre-install b/main/oscam/oscam.pre-install
index 3cd07483b8..fe379e11c1 100644
--- a/main/oscam/oscam.pre-install
+++ b/main/oscam/oscam.pre-install
@@ -1,3 +1,4 @@
#!/bin/sh
-adduser -H -G video -D -s /sbin/nologin oscam 2>/dev/null
+adduser -H -D -s /sbin/nologin oscam 2>/dev/null
+addgroup oscam usb 2>/dev/null
exit 0