r2958 - in trunk/BOOK: content/web introduction/welcome postlfs/config

igor at linuxfromscratch.org igor at linuxfromscratch.org
Wed Nov 17 20:42:49 PST 2004


Author: igor
Date: 2004-11-17 21:42:48 -0700 (Wed, 17 Nov 2004)
New Revision: 2958

Modified:
   trunk/BOOK/content/web/proftpd.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/config/etcshells.xml
Log:
Removed /bin/false from /etc/shells and modified ProFTPD instructions to
add its own login shell instead, suggested by Nico R.


Modified: trunk/BOOK/content/web/proftpd.xml
===================================================================
--- trunk/BOOK/content/web/proftpd.xml	2004-11-18 01:22:00 UTC (rev 2957)
+++ trunk/BOOK/content/web/proftpd.xml	2004-11-18 04:42:48 UTC (rev 2958)
@@ -46,10 +46,12 @@
 <title>Installation of <application>ProFTPD</application></title>
 
 <para>For security reasons, running <application>ProFTPD</application>
-as an unprivileged user and group is encouraged.</para>
+as an unprivileged user and group using its own login shell is encouraged.</para>
 
 <screen><userinput><command>groupadd proftpd &&
-useradd -c proftpd -d /home/ftp -g proftpd -s /bin/false proftpd</command>
+ln -s false /bin/proftpdonly &&
+echo /bin/proftpdonly >> /etc/shells &&
+useradd -c proftpd -d /home/ftp -g proftpd -s /bin/proftpdonly proftpd</command>
 </userinput></screen>
 
 <para>Install <application>ProFTPD</application> by running the following commands:</para>

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2004-11-18 01:22:00 UTC (rev 2957)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2004-11-18 04:42:48 UTC (rev 2958)
@@ -22,6 +22,10 @@
 
 <itemizedlist>
 
+<listitem><para>November 17th, 2004 [igor]: Removed /bin/false from
+/etc/shells and modified ProFTPD instructions to add its own login shell
+instead, suggested by Nico R.</para></listitem>
+
 <listitem><para>November 17th, 2004 [randy]: Updated to
 FFmpeg-0.4.9-pre1 and xine-libs-1-rc7.</para></listitem>
 

Modified: trunk/BOOK/postlfs/config/etcshells.xml
===================================================================
--- trunk/BOOK/postlfs/config/etcshells.xml	2004-11-18 01:22:00 UTC (rev 2957)
+++ trunk/BOOK/postlfs/config/etcshells.xml	2004-11-18 04:42:48 UTC (rev 2958)
@@ -34,7 +34,6 @@
 
 /bin/sh
 /bin/bash
-/bin/false
 
 # End /etc/shells
 <command>EOF</command></userinput></screen>




More information about the blfs-book mailing list