r361 - trunk/BOOK/chapter07

robert at linuxfromscratch.org robert at linuxfromscratch.org
Wed Mar 9 05:36:28 PST 2005


Author: robert
Date: 2005-03-09 06:36:28 -0700 (Wed, 09 Mar 2005)
New Revision: 361

Modified:
   trunk/BOOK/chapter07/suid.xml
Log:
su can be restricted further

Modified: trunk/BOOK/chapter07/suid.xml
===================================================================
--- trunk/BOOK/chapter07/suid.xml	2005-03-09 13:29:13 UTC (rev 360)
+++ trunk/BOOK/chapter07/suid.xml	2005-03-09 13:36:28 UTC (rev 361)
@@ -59,11 +59,11 @@
 
 <screen><userinput>groupadd suers
 chgrp suers /bin/su
-chmod 4750 /bin/su</userinput></screen>
+chmod 4710 /bin/su</userinput></screen>
 
 <para>Now <command>ls -l /bin/su</command> should look like this:</para>
 
-<screen><computeroutput> -rwsr-x---  1 root suers 31088 2004-12-18 02:19 /bin/su</computeroutput></screen>
+<screen><computeroutput> -rws--x---  1 root suers 31088 2004-12-18 02:19 /bin/su</computeroutput></screen>
 
 <para>Users authorized to use <command>su</command> must be added 
 to the <emphasis>suers</emphasis> group.</para>




More information about the hlfs-book mailing list