Author: robert
Date: 2011-08-21 00:51:57 -0600 (Sun, 21 Aug 2011)
New Revision: 1669

Modified:
   trunk/BOOK/chapter06/inetutils.xml
Log:
Be verbose (-v) with setcap.

Modified: trunk/BOOK/chapter06/inetutils.xml
===================================================================
--- trunk/BOOK/chapter06/inetutils.xml  2011-08-21 06:49:56 UTC (rev 1668)
+++ trunk/BOOK/chapter06/inetutils.xml  2011-08-21 06:51:57 UTC (rev 1669)
@@ -121,8 +121,10 @@
 
     <para>Use Linux Capabilities instead of suid:</para>
 
-<screen><userinput remap="install">setcap cap_net_raw=ep /bin/ping
-setcap cap_net_raw=ep /bin/ping6</userinput></screen>
+<screen><userinput remap="install">chmod -v -s /bin/ping
+setcap -v cap_net_raw=ep /bin/ping
+chmod -v -s /bin/ping6
+setcap -v cap_net_raw=ep /bin/ping6</userinput></screen>
 
   </sect2>
 

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-book
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to