From 74ce7a360547f286e1c14a2434627595fce8e787 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Thu, 12 May 2005 20:07:13 +0000 Subject: [PATCH] Tagged etcshells.xml git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4172 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- postlfs/config/etcshells.xml | 55 +++++++++++++++++++----------------- 1 file changed, 29 insertions(+), 26 deletions(-) diff --git a/postlfs/config/etcshells.xml b/postlfs/config/etcshells.xml index 3732cf1902..ce81d12941 100644 --- a/postlfs/config/etcshells.xml +++ b/postlfs/config/etcshells.xml @@ -6,39 +6,42 @@ ]> - -$LastChangedBy$ -$Date$ - - -The /etc/shells File - -/etc/shells - + -The shells file contains a list of -login shells on the system. Applications use this file to determine -whether a shell is valid. For each shell a single line should be -present, consisting of the shell's path, relative to root. + + $LastChangedBy$ + $Date$ + -For example, this file is consulted by chsh to -determine whether a normal user may change the login shell for her -own account. If the command name is not listed, the user will be denied of -change. + The /etc/shells File -It is a requirement for applications such as -GDM which does not populate the -face browser if it can't find /etc/shells or -FTP daemons which traditionally disallow access to users -with shells not included in this file. + + /etc/shells + -cat > /etc/shells << "EOF" -# Begin /etc/shells + The shells file contains a list of + login shells on the system. Applications use this file to determine + whether a shell is valid. For each shell a single line should be + present, consisting of the shell's path, relative to root. + + For example, this file is consulted by chsh + to determine whether a normal user may change the login shell for her + own account. If the command name is not listed, the user will be denied of + change. + + It is a requirement for applications such as + GDM which does not populate the + face browser if it can't find /etc/shells or + FTP daemons which traditionally disallow access to users + with shells not included in this file. + +cat > /etc/shells << "EOF" +# Begin /etc/shells /bin/sh /bin/bash -# End /etc/shells -EOF +# End /etc/shells +EOF