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