Update -current faq wrt smnpd
Pierre Riteau <[email protected]>
| Newsgroups | gmane.os.openbsd.www |
|---|---|
| Message-ID | <[email protected]> |
New user needed for snmpd. Diff to faq/current.html:
Index: current.html
===================================================================
RCS file: /home/pierre/cvs/www/faq/current.html,v
retrieving revision 1.83
diff -p -u -r1.83 current.html
--- current.html 28 Dec 2007 01:03:00 -0000 1.83
+++ current.html 1 Feb 2008 10:42:03 -0000
@@ -36,6 +36,7 @@
<li><a href="#20071125">2007/11/25 - config(8) flag day</a>
<li><a href="#20071128">2007/11/28 - AGP updates</a>
<li><a href="#20071207">2007/12/07 - _hoststated user gets renamed to _relayd</a>
+<li><a href="#20080131">2008/01/31 - new user for snmpd</a>
<!-- New additions go on the bottom, please -->
</ul>
@@ -175,6 +176,22 @@ edit the password files and your favorit
<tt>/etc/group</tt> file, changing "<tt>_hoststated</tt>" to
"<tt>_relayd</tt>" in both.
Leave the rest of the line alone in each case.
+
+<a name="20080131"></a>
+<h3>2008/01/31 - new user for snmpd</h3>
+
+<i>A SNMP daemon has been imported</i> in order to use this daemon, a new
+user and group are required.
+
+As <i>root</i>, add the following user and group, using
+<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=useradd&sektion=8">useradd(8)</a>:
+
+<blockquote><pre>
+# useradd -u91 -g=uid -c"SNMP Daemon" -d/var/empty -s/sbin/nologin _snmpd
+</pre></blockquote>
+
+This step will add both the new user and its corresponding group.
+Your environment may allow you to copy/paste those commands.
<p>
<font color= "#0000e0">