1lpasswd(1) General Commands Manual lpasswd(1)
2
3
4
6 lpasswd - Change group or user password
7
8
10 lchsh [OPTION]... [name]
11
12
14 Changes password of user or group name.
15
16 If the name argument is not provided, username of the invoking user is
17 used; the name argument is ignored if lchsh is run set-uid to a differ‐
18 ent user.
19
20 Entering an empty password (by pressing Enter) aborts the password set‐
21 ting operation.
22
23
25 -F, --plainpassword-fd=fd
26 Read password from file descriptor fd, terminated by end of
27 file, '\r' or '\n'.
28
29
30 -f, --password-fd=fd
31 Read password hash from file descriptor fd, terminated by end of
32 file, '\r' or '\n'.
33
34
35 -g, --group
36 Change password of group name. By default the password of user
37 name is changed.
38
39
40 -i, --interactive
41 Ask all questions when connecting to the user database, even if
42 default answers are set up in libuser configuration.
43
44
45 -P, --plainpassword=password
46 Set the password to password. Note that the password can be
47 viewed while running lpasswd using tools such as ps(1).
48
49
50 -p, --password=encrypted
51 Set the password to the password represented by the hash
52 encrypted. Note that the hash can be viewed while running
53 lpasswd using tools such as ps(1).
54
55
57 The exit status is 0 on success, nonzero on error.
58
59
60
61libuser Jan 12 2005 lpasswd(1)