1lchsh(1)                    General Commands Manual                   lchsh(1)
2
3
4

NAME

6       lchsh - Change login shell
7
8

SYNOPSIS

10       lchsh [OPTION]... [user]
11
12

DESCRIPTION

14       Displays and allows changing login shell of user.
15
16       If  the user argument is not provided, username of the invoking user is
17       used; the user argument is ignored if lchsh is run set-uid to a differ‐
18       ent user.
19
20       Entering  an empty string (by pressing Enter) at the "New Shell" prompt
21       is interpreted as accepting the current value.
22
23

OPTIONS

25       -i, --interactive
26              Ask all questions when connecting to the user database, even  if
27              default answers are set up in libuser configuration.
28
29

EXIT STATUS

31       The exit status is 0 on success, 1 on error.
32
33

BUGS

35       lchsh ignores /etc/shells.
36
37
38
39libuser                           Sep 20 2004                         lchsh(1)
Impressum