11.1
11.2
11.3
12.0
12.1
12.2
gimp3
kea
ken/TL2024
ken/inkscape-core-mods
ken/tuningfonts
lazarus
lxqt
plabs/newcss
plabs/python-mods
python3.11
qt5new
rahul/power-profiles-daemon
renodr/vulkan-addition
trunk
xry111/for-12.3
xry111/intltool
xry111/llvm18
xry111/soup3
xry111/spidermonkey128
xry111/test-20220226
xry111/xf86-video-removal
Last change
on this file since 3186d2b was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 4 years ago |
more SVN prop clean up
Remove "$LastChanged$" everywhere, and also some unused $Date$
|
-
Property mode
set to
100644
|
File size:
1.5 KB
|
Rev | Line | |
---|
[f8d632ac] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[f8d632ac] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[0290a023] | 8 | <sect1 id="postlfs-config-shells" xreflabel="The /etc/shells File">
|
---|
[74ce7a3] | 9 | <?dbhtml filename="etcshells.html"?>
|
---|
| 10 |
|
---|
| 11 | <sect1info>
|
---|
| 12 | <date>$Date$</date>
|
---|
| 13 | </sect1info>
|
---|
| 14 |
|
---|
| 15 | <title>The /etc/shells File</title>
|
---|
| 16 |
|
---|
| 17 | <indexterm zone="postlfs-config-shells">
|
---|
| 18 | <primary sortas="e-etc-shells">/etc/shells</primary>
|
---|
| 19 | </indexterm>
|
---|
| 20 |
|
---|
[e0d33ef] | 21 | <para>The <filename>shells</filename> file contains a list of
|
---|
[74ce7a3] | 22 | login shells on the system. Applications use this file to determine
|
---|
| 23 | whether a shell is valid. For each shell a single line should be
|
---|
[853ae568] | 24 | present, consisting of the shell's path, relative to the root of the
|
---|
| 25 | directory structure (/).</para>
|
---|
[74ce7a3] | 26 |
|
---|
[d612b9f] | 27 | <para>For example, this file is consulted by <command>chsh</command>
|
---|
[e615d9b] | 28 | to determine whether an unprivileged user may change the login shell for her
|
---|
[74ce7a3] | 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
|
---|
[e0d33ef] | 33 | <application>GDM</application> which does not populate the
|
---|
[853ae568] | 34 | face browser if it can't find <filename>/etc/shells</filename>, or
|
---|
[e0d33ef] | 35 | FTP daemons which traditionally disallow access to users
|
---|
[74ce7a3] | 36 | with shells not included in this file.</para>
|
---|
| 37 |
|
---|
| 38 | <screen role="root"><userinput>cat > /etc/shells << "EOF"
|
---|
| 39 | <literal># Begin /etc/shells
|
---|
[975d907a] | 40 |
|
---|
| 41 | /bin/sh
|
---|
| 42 | /bin/bash
|
---|
| 43 |
|
---|
[74ce7a3] | 44 | # End /etc/shells</literal>
|
---|
| 45 | EOF</userinput></screen>
|
---|
[975d907a] | 46 |
|
---|
| 47 | </sect1>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.