153 lines
3.3 KiB
HTML
153 lines
3.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of CHSH</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>CHSH</H1>
|
|
Section: Dienstprogramme für Benutzer (1)<BR>Updated: 28.05.2020<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
chsh - ändert die Anmelde-Shell
|
|
<A NAME="lbAC"> </A>
|
|
<H2>ÜBERSICHT</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">
|
|
<B>chsh</B> [<I>Optionen</I>] [<I>ANMELDENAME</I>]
|
|
</DL>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>BESCHREIBUNG</H2>
|
|
|
|
<P>
|
|
|
|
<DD>The
|
|
<B>chsh</B>
|
|
command changes the user login shell. This determines the name of the user's initial login command. A normal user may only change the login shell for her own account; the superuser may change the login shell for any account.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONEN</H2>
|
|
|
|
<P>
|
|
|
|
The options which apply to the
|
|
<B>chsh</B>
|
|
command are:
|
|
<P>
|
|
|
|
<B>-h</B>, <B>--help</B>
|
|
<DL COMPACT><DT id="2"><DD>
|
|
zeigt die Hilfe an und beendet das Programm
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-R</B>, <B>--root</B> <I>CHROOT_DIR</I>
|
|
<DL COMPACT><DT id="3"><DD>
|
|
Apply changes in the
|
|
<I>CHROOT_DIR</I>
|
|
directory and use the configuration files from the
|
|
<I>CHROOT_DIR</I>
|
|
directory.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-s</B>, <B>--shell</B> <I>SHELL</I>
|
|
<DL COMPACT><DT id="4"><DD>
|
|
Der Name der neuen Anmelde-Shell des Benutzers. Falls dieses Feld leer gelassen wird, verwendet das System die Standard-Anmelde-Shell.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
If the
|
|
<B>-s</B>
|
|
option is not selected,
|
|
<B>chsh</B>
|
|
operates in an interactive fashion, prompting the user with the current login shell. Enter the new value to change the shell, or leave the line blank to use the current one. The current shell is displayed between a pair of
|
|
<I>[ ]</I>
|
|
marks.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>ANMERKUNGEN</H2>
|
|
|
|
<P>
|
|
|
|
The only restriction placed on the login shell is that the command name must be listed in
|
|
/etc/shells, unless the invoker is the superuser, and then any value may be added. An account with a restricted login shell may not change her login shell. For this reason, placing
|
|
/bin/rsh
|
|
in
|
|
/etc/shells
|
|
is discouraged since accidentally changing to a restricted shell would prevent the user from ever changing her login shell back to its original value.
|
|
<A NAME="lbAG"> </A>
|
|
<H2>DATEIEN</H2>
|
|
|
|
<P>
|
|
|
|
/etc/passwd
|
|
<DL COMPACT><DT id="5"><DD>
|
|
Informationen zu den Benutzerkonten
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
/etc/shells
|
|
<DL COMPACT><DT id="6"><DD>
|
|
Liste der möglichen Anmelde-Shells
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
/etc/login.defs
|
|
<DL COMPACT><DT id="7"><DD>
|
|
Konfiguration der Shadow-Passwort-Werkzeugsammlung
|
|
</DL>
|
|
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SIEHE AUCH</H2>
|
|
|
|
<P>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+chfn">chfn</A></B>(1),
|
|
<B><A HREF="/cgi-bin/man/man2html?5+login.defs">login.defs</A></B>(5),
|
|
<B><A HREF="/cgi-bin/man/man2html?5+passwd">passwd</A></B>(5).
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="8"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="9"><A HREF="#lbAC">ÜBERSICHT</A><DD>
|
|
<DT id="10"><A HREF="#lbAD">BESCHREIBUNG</A><DD>
|
|
<DT id="11"><A HREF="#lbAE">OPTIONEN</A><DD>
|
|
<DT id="12"><A HREF="#lbAF">ANMERKUNGEN</A><DD>
|
|
<DT id="13"><A HREF="#lbAG">DATEIEN</A><DD>
|
|
<DT id="14"><A HREF="#lbAH">SIEHE AUCH</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:04:55 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|