source: postlfs/config/etcshells.xml@ a08fde9

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 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
Last change on this file since a08fde9 was a08fde9, checked in by Igor Živković <igor@…>, 19 years ago

Removed /bin/false from /etc/shells and modified ProFTPD instructions to
add its own login shell instead, suggested by Nico R.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2958 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 1.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="postlfs-config-shells">
9<sect1info>
10<othername>$LastChangedBy$</othername>
11<date>$Date$</date>
12</sect1info>
13<?dbhtml filename="etcshells.html"?>
14<title>/etc/shells</title>
15
16<para>The <filename>shells</filename> file contains a list of
17login shells on the system. Applications use this file to determine
18whether a shell is valid. For each shell a single line should be
19present, consisting of the shell's path, relative to root.</para>
20
21<para>For example, this file is consulted by <command>chsh</command> to
22determine whether a normal user may change the login shell for her
23own account. If the command name is not listed, the user will be denied of
24change.</para>
25
26<para>It is a requirement for applications such as
27<acronym>GDM</acronym> which does not populate the face browser if it
28can't find <filename>/etc/shells</filename> or <acronym>FTP</acronym>
29daemons which traditionally disallow access to users with shells not
30included in this file.</para>
31
32<screen><userinput><command>cat &gt; /etc/shells &lt;&lt; "EOF"</command>
33# Begin /etc/shells
34
35/bin/sh
36/bin/bash
37
38# End /etc/shells
39<command>EOF</command></userinput></screen>
40
41</sect1>
Note: See TracBrowser for help on using the repository browser.