]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
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 46e4b80295050eac06d90e8236fdba485152ad01..ab5f4af51175d8bf75c5ed6cc9760fbf3d6fbbfe 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 65643793d8f4631cb922d43f48f46217016f3a3c..f3e0593526d03506400b12811d3a564da54d2a2f 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
 #