Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon

Linux User Management: Configuring Password Aging

Systems administrators are responsible for keeping systems secure and safe from hackers. Part of this process is enabling password restrictions, so that users are forced to change their password on a regular basis. In this lab, we will learn to set password restrictions for Linux users. We will set passwords to warn users of required password changes 7 days in advance, require password changes every 30 days, and lock the passwords after 60 days of account inactivity.

Google Cloud Platform icon

Path Info

Clock icon Beginner
Clock icon 15m
Clock icon Jan 31, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    List the User Account Aging Information for the cloud_user User Account

    chage -l cloud_user
  2. Challenge

    Give the user 7 days warning that a password change is equired

    This is set by default, so no changes are needed.

  3. Challenge

    Set the Maximum Days between Password Changes to 30 Days

    chage -M 30 cloud_user
  4. Challenge

    Set the Account to Lock upon 60 Days of Inactivity after a Password Has Expired

    chage -I 60 cloud_user

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans