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

NAME

6       lchage - Display or change user password policy
7
8

SYNOPSIS

10       lchage [OPTION]... user
11
12

DESCRIPTION

14       Displays or allows changing password policy of user.
15
16

OPTIONS

18       -d, --date=days
19              Set the date of last password change to days after Jan 1 1970.
20
21
22       -E, --expire=days
23              Set  the  account expiration date to days after Jan 1 1970.  Set
24              days to -1 to disable account expiration.
25
26
27       -i, --interactive
28              Ask all questions when connecting to the user database, even  if
29              default answers are set up in libuser configuration.
30
31
32       -I, --inactive=days
33              Disable the account after days after password expires (after the
34              user user is required to change the password).
35
36
37       -l, --list
38              Only list current user's policy and make no changes.
39
40
41       -m, --mindays=days
42              Require at least days days between password changes.   Set  days
43              to 0 to disable this checking.
44
45
46       -M, --maxdays=days
47              Require  changing  the  password  after days since last password
48              change.  Set days to 99999 to disable this checking.
49
50
51       -W, --warndays=days
52              Start warning the user days before password expires (before  the
53              user is required to change the password).
54
55

EXIT STATUS

57       The exit status is 0 on success, nonzero on error.
58
59
60
61libuser                           Jan 12 2005                        lchage(1)
Impressum