File: group.yml

package info (click to toggle)
scap-security-guide 0.1.78-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 114,600 kB
  • sloc: xml: 245,305; sh: 84,381; python: 33,093; makefile: 27
file content (22 lines) | stat: -rw-r--r-- 1,136 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
documentation_complete: true

title: 'Set Account Expiration Parameters'

description: |-
    Accounts can be configured to be automatically disabled
    after a certain time period,
    meaning that they will require administrator interaction to become usable again.
    Expiration of accounts after inactivity can be set for all accounts by default
    and also on a per-account basis, such as for accounts that are known to be temporary.
    To configure automatic expiration of an account following
    the expiration of its password (that is, after the password has expired and not been changed),
    run the following command, substituting <tt><i>NUM_DAYS</i></tt> and <tt><i>USER</i></tt> appropriately:
    <pre>$ sudo chage -I <i>NUM_DAYS USER</i></pre>
    Accounts, such as temporary accounts, can also be configured to expire on an explicitly-set date with the
    <tt>-E</tt> option.
    The file <tt>/etc/default/useradd</tt> controls
    default settings for all newly-created accounts created with the system's
    normal command line utilities.

warnings:
   - general: 'This will only apply to newly created accounts'