Add user nobody to group dialout.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 3 Jun 2014 13:32:00 +0000 (15:32 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 3 Jun 2014 13:32:00 +0000 (15:32 +0200)
Those permissions are required for modem-status.cgi to
communicate with serial modems.

config/etc/group
config/rootfiles/core/78/update.sh

index 46e4b80..ab5f4af 100644 (file)
@@ -10,7 +10,7 @@ kmem:x:9:
 wheel:x:10:root
 mail:x:12:mail
 uucp:x:14:
-dialout:x:16:
+dialout:x:16:nobody
 floppy:x:19:
 tape:x:20:
 utmp:x:22:
index 6564379..f3e0593 100644 (file)
@@ -173,6 +173,9 @@ chmod 4755 /usr/bin/ping
 # Update Language cache
 perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
 
+# Add nobody to group dialout
+usermod -a -G dialout nobody
+
 #
 # Start services
 #