aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml
diff options
context:
space:
mode:
authorMarc Fonvieille <blackend@FreeBSD.org>2004-10-25 16:37:32 +0000
committerMarc Fonvieille <blackend@FreeBSD.org>2004-10-25 16:37:32 +0000
commit3bae3606f6118f0c07e7c24975caaeb20a64160a (patch)
tree22a2442bc2d49e4f134826663087aaa90fbb0d73 /en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml
parent48e3526337b8dc40cf7399d63fb83e4b7f63f916 (diff)
downloaddoc-3bae3606f6118f0c07e7c24975caaeb20a64160a.tar.gz
doc-3bae3606f6118f0c07e7c24975caaeb20a64160a.zip
In scanners section:
By default, under 5.X, uscanner0 permissions are 0640 preventing users in operator group to use the scanner (a write access is required). So let's show how to change the permissions to 660 (for example) via devfs.rules and the devfs_system_ruleset option in rc.conf. This gives an example on how to change permissions on a node that is not always present at system boot.
Notes
Notes: svn path=/head/; revision=22681
Diffstat (limited to 'en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml')
-rw-r--r--en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml22
1 files changed, 21 insertions, 1 deletions
diff --git a/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml b/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml
index ce1632ef4b..4d8426a9a5 100644
--- a/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml
+++ b/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml
@@ -1815,7 +1815,27 @@ device `epson:/dev/uscanner0' is a Epson GT-8200 flatbed scanner</screen>
<screen>&prompt.root; <userinput>pw groupmod operator -m <replaceable>joe</replaceable></userinput></screen>
- <para>For more details read the &man.pw.8; manual page.</para>
+ <para>For more details read the &man.pw.8; manual page. You
+ also have to set the correct write permissions (0660 or 0664)
+ on the <filename>/dev/uscanner0</filename> device node, by
+ default the <groupname>operator</groupname> group can only
+ read the device node. This is done by adding the following
+ lines to the <filename>/etc/devfs.rules</filename> file:</para>
+
+ <programlisting>[system=5]
+add path uscanner0 mode 660</programlisting>
+
+ <para>Then add the following to
+ <filename>/etc/rc.conf</filename> and reboot the
+ machine:</para>
+
+ <programlisting>devfs_system_ruleset="system"</programlisting>
+
+ <para>More information regarding these lines can be found in the
+ &man.devfs.8; manual page. Under &os;&nbsp;4.X, the
+ <groupname>operator</groupname> group has, by default, read
+ and write permissions to
+ <filename>/dev/uscanner0</filename>.</para>
<note>
<para>Of course, for security reasons, you should think twice