lchsh (1) Linux Manual Page
lchsh – Change login shell
Synopsis
lchsh [OPTION]… [user]Description
Displays 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.
Options
- -i, –interactive
- Ask all questions when connecting to the user database, even if default answers are set up in libuser configuration.
