• Skip to primary navigation
  • Skip to content
  • Skip to footer
DiABOLiKO A DEVELOPING NETWORK & SERVICE SUPPORT
  • Certifications
  • Posts
  • Collections
  • Categories
  • Tags
  • About
  • Terms & Privacy Policy
    Diego

    Diego

    Live as if you were to die tomorrow. Learn as if you were to live forever. Mahatma Gandhi

    • Rome Italy
    • Your Website
    • Twitter
    • GitHub
    • Instagram

    SYS: Change passwords and adjust password aging for local user accounts

    less than 1 minute read

    On This Page

    Note: This is an RHCSA 7 exam objective.

    To assign a password to a user account (here user), type:

    # passwd user
    

    To set an expiration date to a local user account (here user), type:

    # chage -E YYYY-MM-DD user
    

    To check the result, type:

    # chage -l user
    

    Tags: RHCSA, RHEL7, SYS

    Categories: Linux

    Updated: April 10, 2018

    Share on

    Twitter Facebook LinkedIn
    Previous Next

    Leave a comment

    You may also enjoy

    RHEL7: How to set up an environment variable.

    1 minute read

    Presentation

    RHEL7: How to install a Wekan service.

    2 minute read

    Presentation

    RHEL7: How to install a NodeJS service.

    2 minute read

    Presentation

    RHEL7: How to install a MongoDB service.

    8 minute read

    Presentation of MongoDB

    • Follow:
    • Twitter
    • GitHub
    • Instagram
    • Feed
    © 2022 Diego. Powered by Jekyll & Minimal Mistakes.