Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

CentOS 4.8

i386

lchsh(1)


lchsh

lchsh

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXIT STATUS
BUGS

NAME

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.

EXIT STATUS

The exit status is 0 on success, 1 on error.

BUGS

lchsh ignores /etc/shells.



lchsh(1)