Update to r42501:
Give less open permissions in process accounting log example, discussed in forum thread http://forums.freebsd.org/showthread.php?t=41059.
This commit is contained in:
parent
c86e572809
commit
7a80e18d4b
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=48553
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
$FreeBSD$
|
$FreeBSD$
|
||||||
$FreeBSDde: de-docproj/books/handbook/security/chapter.xml,v 1.178 2012/04/30 17:07:41 bcr Exp $
|
$FreeBSDde: de-docproj/books/handbook/security/chapter.xml,v 1.178 2012/04/30 17:07:41 bcr Exp $
|
||||||
basiert auf: r42266
|
basiert auf: r42501
|
||||||
-->
|
-->
|
||||||
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="security">
|
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="security">
|
||||||
<info><title>Sicherheit</title>
|
<info><title>Sicherheit</title>
|
||||||
|
@ -3909,6 +3909,7 @@ VII. References<co xml:id="co-ref"/></programlisting>
|
||||||
müssen Sie diese über die folgenden Befehle aktivieren:</para>
|
müssen Sie diese über die folgenden Befehle aktivieren:</para>
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>touch /var/account/acct</userinput>
|
<screen>&prompt.root; <userinput>touch /var/account/acct</userinput>
|
||||||
|
&prompt.root; <userinput>chmod 600 /var/account/acct</userinput>
|
||||||
&prompt.root; <userinput>accton /var/account/acct</userinput>
|
&prompt.root; <userinput>accton /var/account/acct</userinput>
|
||||||
&prompt.root; <userinput>echo 'accounting_enable="YES"' >> /etc/rc.conf</userinput></screen>
|
&prompt.root; <userinput>echo 'accounting_enable="YES"' >> /etc/rc.conf</userinput></screen>
|
||||||
|
|
||||||
|
@ -3931,8 +3932,7 @@ VII. References<co xml:id="co-ref"/></programlisting>
|
||||||
class="username">trhodes</systemitem> auf dem Terminal
|
class="username">trhodes</systemitem> auf dem Terminal
|
||||||
<literal>ttyp1</literal>:</para>
|
<literal>ttyp1</literal>:</para>
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>lastcomm ls
|
<screen>&prompt.root; <userinput>lastcomm ls trhodes ttyp1</userinput></screen>
|
||||||
trhodes ttyp1</userinput></screen>
|
|
||||||
|
|
||||||
<para>Zahlreiche weitere nützliche Optionen finden Sie
|
<para>Zahlreiche weitere nützliche Optionen finden Sie
|
||||||
&man.lastcomm.1;, &man.acct.5; sowie &man.sa.8;.</para>
|
&man.lastcomm.1;, &man.acct.5; sowie &man.sa.8;.</para>
|
||||||
|
|
Loading…
Reference in a new issue