debian man page for lusermod

Query: lusermod

OS: debian

Section: 8

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

lusermod(8)						      System Manager's Manual						       lusermod(8)

NAME
lusermod - Modify an user
SYNOPSIS
lusermod [OPTION]... user
DESCRIPTION
Modifies the user with name user.
OPTIONS
-c, --gecos=gecos Set user's GECOS field to gecos. The GECOS field is traditionally used to store user's real name and other information. -d, --directory=directory Set user's home directory to directory. -g, --gid=gid Change user's primary group ID to gid. If group with ID gid does not exist, a warning is printed, but the operation is performed anyway. -i, --interactive Ask all questions when connecting to the user database, even if default answers are set up in libuser configuration. -L, --lock Lock user's account. This prevents logging in using user's password. -l, --login=name Rename user to name. -m, --movedirectory After changing user's home directory (using the -d option), move the old home directory to the new location. -P, --plainpassword=password Set user's password to password. Note that the password can be viewed while running lusermod using tools such as ps(1). -p, --password=encrypted Set user's password to the password represented by the hash encrypted. Note that the hash can be viewed while running lusermod using tools such as ps(1). -s, --shell=shell Set user's login shell to shell. -U, --unlock Unlock user's account. -u, --uid=uid Change user's user ID to uid.
EXIT STATUS
The exit status is 0 on success, nonzero on error. libuser Feb 27 2008 lusermod(8)
Related Man Pages
lpasswd(8) - debian
luseradd(8) - debian
lchage(1) - centos
lgroupmod(1) - centos
usermod(8) - netbsd
Similar Topics in the Unix Linux Community
A few newbie questions
How to read variable with no display
Help me please on my problem
su: No shell/No directory! if sys is added to a users secondary group
Help OS X script : password input