Changeset 74ce7a3
- Timestamp:
- 05/12/2005 08:07:13 PM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- c594bf3
- Parents:
- 254bd5c8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/config/etcshells.xml
r254bd5c8 r74ce7a3 7 7 8 8 <sect1 id="postlfs-config-shells" xreflabel="The /etc/shells File"> 9 <sect1info> 10 <othername>$LastChangedBy$</othername> 11 <date>$Date$</date> 12 </sect1info> 13 <?dbhtml filename="etcshells.html"?> 14 <title>The /etc/shells File</title> 15 <indexterm zone="postlfs-config-shells"> 16 <primary sortas="e-etc-shells">/etc/shells</primary> 17 </indexterm> 9 <?dbhtml filename="etcshells.html"?> 18 10 19 <para>The <filename>shells</filename> file contains a list of 20 login shells on the system. Applications use this file to determine 21 whether a shell is valid. For each shell a single line should be 22 present, consisting of the shell's path, relative to root.</para>11 <sect1info> 12 <othername>$LastChangedBy$</othername> 13 <date>$Date$</date> 14 </sect1info> 23 15 24 <para>For example, this file is consulted by <command>chsh</command> to 25 determine whether a normal user may change the login shell for her 26 own account. If the command name is not listed, the user will be denied of 27 change.</para> 16 <title>The /etc/shells File</title> 28 17 29 <para>It is a requirement for applications such as 30 <application><acronym>GDM</acronym></application> which does not populate the 31 face browser if it can't find <filename>/etc/shells</filename> or 32 <acronym>FTP</acronym> daemons which traditionally disallow access to users 33 with shells not included in this file.</para> 18 <indexterm zone="postlfs-config-shells"> 19 <primary sortas="e-etc-shells">/etc/shells</primary> 20 </indexterm> 34 21 35 <screen><userinput><command>cat > /etc/shells << "EOF"</command> 36 # Begin /etc/shells 22 <para>The <filename>shells</filename> file contains a list of 23 login shells on the system. Applications use this file to determine 24 whether a shell is valid. For each shell a single line should be 25 present, consisting of the shell's path, relative to root.</para> 26 27 <para>For example, this file is consulted by <command>chsh</command> 28 to determine whether a normal user may change the login shell for her 29 own account. If the command name is not listed, the user will be denied of 30 change.</para> 31 32 <para>It is a requirement for applications such as 33 <application>GDM</application> which does not populate the 34 face browser if it can't find <filename>/etc/shells</filename> or 35 FTP daemons which traditionally disallow access to users 36 with shells not included in this file.</para> 37 38 <screen role="root"><userinput>cat > /etc/shells << "EOF" 39 <literal># Begin /etc/shells 37 40 38 41 /bin/sh 39 42 /bin/bash 40 43 41 # End /etc/shells 42 <command>EOF</command></userinput></screen>44 # End /etc/shells</literal> 45 EOF</userinput></screen> 43 46 44 47 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.