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

NAME

6       lusermod - Modify an user
7
8

SYNOPSIS

10       lusermod [OPTION]... user
11
12

DESCRIPTION

14       Modifies the user with name user.
15
16

OPTIONS

18       -c, --gecos=gecos
19              Set  user's GECOS field to gecos.  The GECOS field is traditionā€
20              ally used to store user's real name and other information.
21
22
23       -d, --directory=directory
24              Set user's home directory to directory.
25
26
27       -g, --gid=gid
28              Change user's primary group ID to gid.
29
30
31       -i, --interactive
32              Ask all questions when connecting to the user database, even  if
33              default answers are set up in libuser configuration.
34
35
36       -L, --lock
37              Lock  user's  account.   This  prevents  logging in using user's
38              password.
39
40
41       -l, --login=name
42              Rename user to name.
43
44
45       -m, --movedirectory
46              After changing user's home directory (using the -d option), move
47              the old home directory to the new location.
48
49
50       -P, --plainpassword=password
51              Set  user's password to password.  Note that the password can be
52              viewed while running lusermod using tools such as ps(1).
53
54
55       -p, --password=encrypted
56              Set user's password to the  password  represented  by  the  hash
57              encrypted.   Note  that  the  hash  can  be viewed while running
58              lusermod using tools such as ps(1).
59
60
61       -s, --shell=shell
62              Set user's login shell to shell.
63
64
65       -U, --unlock
66              Unlock user's account.
67
68
69       -u, --uid=uid
70              Change user's user ID to uid.
71
72

EXIT STATUS

74       The exit status is 0 on success, nonzero on error.
75
76
77
78libuser                           Jan 15 2005                      lusermod(1)
Impressum