lchshSection: User Commands (1)
Updated: Sep 20 2004
Index Return to Main Contents
NAMElchsh - Change login shell
SYNOPSISlchsh [OPTION]... [user]
DESCRIPTIONDisplays and allows changing login shell of user.
If the user argument is not provided, username of the invoking user is used; the user argument is ignored if lchsh is run set-uid to a different user.
Entering an empty string (by pressing Enter) at the "New Shell" prompt is interpreted as accepting the current value.
- -i, --interactive
Ask all questions when connecting to the user database,
even if default answers are set up in
EXIT STATUSThe exit status is 0 on success, 1 on error.
BUGSlchsh ignores /etc/shells.
This document was created by man2html, using the manual pages.
Time: 05:29:05 GMT, December 24, 2015