"Fossies" - the Fresh Open Source Software Archive 
Member "nss-pam-ldapd-0.9.12/man/chsh.ldap.1.xml" (20 Nov 2021, 4272 Bytes) of package /linux/privat/nss-pam-ldapd-0.9.12.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
4
5 <!--
6 chsh.ldap.1.xml - docbook manual page for chsh.ldap
7
8 Copyright (C) 2013-2021 Arthur de Jong
9
10 This library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Lesser General Public
12 License as published by the Free Software Foundation; either
13 version 2.1 of the License, or (at your option) any later version.
14
15 This library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
19
20 You should have received a copy of the GNU Lesser General Public
21 License along with this library; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23 02110-1301 USA
24 -->
25
26 <refentry id="chshldap1">
27
28 <refentryinfo>
29 <author>
30 <firstname>Arthur</firstname>
31 <surname>de Jong</surname>
32 </author>
33 </refentryinfo>
34
35 <refmeta>
36 <refentrytitle>chsh.ldap</refentrytitle>
37 <manvolnum>1</manvolnum>
38 <refmiscinfo class="version">Version 0.9.12</refmiscinfo>
39 <refmiscinfo class="manual">User Commands</refmiscinfo>
40 <refmiscinfo class="date">Nov 2021</refmiscinfo>
41 </refmeta>
42
43 <refnamediv id="name">
44 <refname>chsh.ldap</refname>
45 <refpurpose>change login shell in LDAP</refpurpose>
46 </refnamediv>
47
48 <refsynopsisdiv id="synopsis">
49 <cmdsynopsis>
50 <command>chsh.ldap</command>
51 <arg choice="opt"><replaceable>options</replaceable></arg>
52 <arg choice="opt"><replaceable>LOGIN</replaceable></arg>
53 </cmdsynopsis>
54 </refsynopsisdiv>
55
56 <refsect1 id="description">
57 <title>Description</title>
58 <para>
59 The <command>chsh.ldap</command> command can be used to change user's
60 login shell (command interpreter).
61 </para>
62 <para>
63 The actual change in <acronym>LDAP</acronym> is performed by the
64 <command>nslcd</command> daemon and is subject to the access controls
65 configured in the <acronym>LDAP</acronym> server.
66 </para>
67 </refsect1>
68
69 <refsect1 id="options">
70 <title>Options</title>
71 <para>
72 The options that may be specified to the <command>chsh.ldap</command>
73 command are:
74 </para>
75 <variablelist remap="TP">
76
77 <varlistentry id="shell">
78 <term>
79 <option>-s</option>, <option>--shell</option>
80 <replaceable>SHELL</replaceable>
81 </term>
82 <listitem>
83 <para>
84 The name of the user's new login shell.
85 Setting this field to blank causes the system to select the default
86 login shell.
87 </para>
88 </listitem>
89 </varlistentry>
90
91 <varlistentry id="listshells">
92 <term>
93 <option>-l</option>, <option>--list-shells</option>
94 </term>
95 <listitem>
96 <para>
97 Print the list of shells found in <filename>/etc/shells</filename> and exit.
98 </para>
99 </listitem>
100 </varlistentry>
101
102 <varlistentry id="help">
103 <term>
104 <option>-h</option>, <option>--help</option>
105 </term>
106 <listitem>
107 <para>Display short help and exit.</para>
108 </listitem>
109 </varlistentry>
110
111 <varlistentry id="version">
112 <term>
113 <option>-V, --version</option>
114 </term>
115 <listitem>
116 <para>Output version information and exit.</para>
117 </listitem>
118 </varlistentry>
119
120 </variablelist>
121 <para>
122 If no option is specified <command>chsh.ldap</command> will prompt the
123 user to enter a value for the shell.
124 </para>
125 </refsect1>
126
127 <refsect1 id="files">
128 <title>Files</title>
129 <para>
130 <filename>/etc/shells</filename> - list of valid login shells
131 </para>
132 </refsect1>
133
134 <refsect1 id="see_also">
135 <title>See Also</title>
136 <para>
137 <citerefentry><refentrytitle>chsh</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
138 <citerefentry><refentrytitle>shells</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
139 <citerefentry><refentrytitle>nslcd</refentrytitle><manvolnum>8</manvolnum></citerefentry>
140 </para>
141 </refsect1>
142
143 <refsect1 id="author">
144 <title>Author</title>
145 <para>This manual was written by Arthur de Jong <arthur@arthurdejong.org>.</para>
146 </refsect1>
147
148 </refentry>