r108 - trunk/text/chapter07

robert at linuxfromscratch.org robert at linuxfromscratch.org
Tue Jan 18 01:08:38 PST 2005


Author: robert
Date: 2005-01-18 02:08:37 -0700 (Tue, 18 Jan 2005)
New Revision: 108

Modified:
   trunk/text/chapter07/01-suid.txt
Log:
Added hint for group wheel su

Modified: trunk/text/chapter07/01-suid.txt
===================================================================
--- trunk/text/chapter07/01-suid.txt	2005-01-18 09:04:11 UTC (rev 107)
+++ trunk/text/chapter07/01-suid.txt	2005-01-18 09:08:37 UTC (rev 108)
@@ -43,3 +43,10 @@
 /bin/ping
 /bin/passwd
 
+# If you only want certain users to be able to use su(1) you can simply add
+# those users to /etc/group's group 'root' and remove world permissions from
+# /bin/su. Another solution would be to add users to an suers' group, and
+# chgrp the /bin/su program.
+
+chmod o-rx /bin/su
+




More information about the hlfs-dev mailing list