Fix some simple typos which could cause great havoc. Mainly fix label
settings. These would not have caused any large issues, just opened a hole for root to bypass the security. Noticed by: Borja Marcos <borjamar@sarenet.es>
This commit is contained in:
parent
512ff59a9b
commit
15d69131fb
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=27810
1 changed files with 5 additions and 5 deletions
|
@ -1776,7 +1776,7 @@ test: biba/low</screen>
|
|||
:passwordtime=91d:\
|
||||
:umask=022:\
|
||||
:ignoretime@:\
|
||||
:label=biba/10:</programlisting>
|
||||
:label=biba/10(10-10):</programlisting>
|
||||
|
||||
<para>And adding the following line to the default user
|
||||
class:</para>
|
||||
|
@ -1822,8 +1822,8 @@ mac_seeotheruids_load="YES"</programlisting>
|
|||
<para>Drop the <username>nagios</username> and
|
||||
<username>www</username> users into the insecure class:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>pw usermod nagios -L default</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>pw usermod www -L default</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>pw usermod nagios -L insecure</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>pw usermod www -L insecure</userinput></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
|
@ -1937,8 +1937,8 @@ default_labels socket ?biba</programlisting>
|
|||
make this happen:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>cd /etc/mail && make stop && \
|
||||
setpmac biba/equal make start && setpmac biba/10 apachectl start && \
|
||||
setpmac biba/10 /usr/local/etc/rc.d/nagios.sh forcestart</userinput></screen>
|
||||
setpmac biba/equal make start && setpmac biba/10\(10-10\) apachectl start && \
|
||||
setpmac biba/10\(10-10\) /usr/local/etc/rc.d/nagios.sh forcestart</userinput></screen>
|
||||
|
||||
<para>Double check to ensure that everything is working
|
||||
properly. If not, check the log files or error messages. Use
|
||||
|
|
Loading…
Reference in a new issue