#8 Re-adding pass. policy fixes.
Merged 6 years ago by rkratky. Opened 6 years ago by rkratky.
fedora-docs/ rkratky/flock2017-docs-workshop pass-policies  into  master

@@ -5,22 +5,15 @@ 

  

  .Prerequisites

  

- * Sentence or a bulleted list of pre-requisites that must be in place or done before the user starts this task.

+ * User account created.

  

- * Delete section title and bullets if the task has no required pre-requisites.

- 

- * Text can be a link to a pre-requisite task that the user must do before starting this task.

- 

- include::procedure-setting_password.adoc[leveloffset=+1]

+ include::procedure-setting_passwords.adoc[leveloffset=+1]

  

  include::procedure-enabling_password_aging.adoc[leveloffset=+1]

  

- include::reference-chage_command_line_options.adoc[leveloffset=+1]

+ include::reference-chage_command-line_options.adoc[leveloffset=+1]

  

  == Additional Resources

  

- * Bulleted list of links to concepts, reference, or other tasks closely related to this user story.

- 

- * Include only the most relevant items as links, not every possible related item.

+ * `passwd(1)` and `chage(1)` manual pages

  

- * Delete section title and bullets if no related information is needed.

@@ -1,21 +1,17 @@ 

- // Include an 'ID' that corresponds to the title of the assembly

- // The ID will be used as an anchor for linking to the title

- // Do not change the ID to make sure existing links keep working

  [#enabling_password_aging]

  = Enabling Password Aging

  

- For security reasons, it is advisable to require users to change their passwords periodically. This can be done by using the [command]#chage# command.

+ For security reasons, it is advisable to require users to change their passwords periodically. This can be done using the [command]`chage` command.

  

  .Prerequisites

  

- * Shadow passwords must be enabled to use the [command]#chage# command. For more information, see xref:Managing_Users_and_Groups.adoc#s2-users-groups-shadow-utilities[Shadow Passwords].

+ * Shadow passwords must be enabled to use the [command]`chage` command. For more information, see link:https://bex.fedorapeople.org/workshop_test_site/rawhide/system-administrators-guide/basic-system-configuration/Managing_Users_and_Groups.html#s2-users-groups-shadow-utilities[Shadow Passwords].

  

  .Procedure

  

  . To configure password expiration for a user from a shell prompt, run the following command as `root`:

- 

- [subs="quotes, macros"]

+ +

+ [subs="+quotes"]

  ----

  # chage _options_ _username_

- 

  ----

en-US/sysadmin_user_stories/procedure-setting_passwords.adoc en-US/sysadmin_user_stories/procedure-setting_password.adoc
file renamed
+4 -5
@@ -1,14 +1,13 @@ 

- // Include an 'ID' that corresponds to the title of the assembly

- // The ID will be used as an anchor for linking to the title

- // Do not change the ID to make sure existing links keep working

- [#setting_password]

- = Setting Password

+ [#setting_passwords]

+ = Setting Passwords

  

  For security reasons, it is advisable to require users to change their passwords periodically.

  

  .Procedure

  

  . To set a password of a user, use the following command as `root`:

+ +

+ [subs="+quotes"]

  ----

  # passwd _username_

  ----

en-US/sysadmin_user_stories/reference-chage_command-line_options.adoc en-US/sysadmin_user_stories/reference-chage_command_line_options.adoc
file renamed
+5 -9
@@ -1,15 +1,11 @@ 

- // Include an 'ID' that corresponds to the title of the assembly

- // The ID will be used as an anchor for linking to the title

- // Do not change the ID to make sure existing links keep working

- [#reference_chage_command_line_options]

- = Reference chage Command-line Options

+ [#chage_command-line_options]

+ = chage Command-line Options

  

- * When the [command]#chage# command is followed directly by a username (that is, when no command line options are specified), it displays the specified users current password aging values and allows you to change these values interactively.

+ When the [command]`chage` command is followed directly by a username (that is, when no command-line options are specified), it displays the specified user's current password-aging values and allows you to change these values interactively.

  

- [[table-chage-options]]

+ [#table-chage-options]

  .chage command line options

- 

- [options="header"]

+ [options="header",cols="1,8"]

  |===

  |Option|Description

  |[option]`-d`pass:attributes[{blank}] pass:attributes[{blank}]_days_|Specifies the number of days since January 1, 1970 the password was changed.