• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Solaris : How to configure a user account to never expire (disable password aging)

by admin

By default passwords do not expire on user accounts. If an expiration date has been added to an account and you wish to remove it, use the passwd command to change the maximum number of days between password changes to -1. This post describes how to turn off password aging when a maximum and possibly minimum value for password duration have been set.

Turn off a value for password duration by setting the number of days to -1.

Example:

# passwd -d tom
tom 10/29/99 0 14
# passwd -x -1 tom
Changing password for tom on geeklab.
# passwd -d tom
tom
CentOS / RHEL : How to configure a user account to never expire (disable password ageing)

Filed Under: Solaris

Some more articles you might also be interested in …

  1. Performing Network Diagnostics in Solaris 11 with “network-monitor”
  2. How to Use the Oracle Solaris Fast Crash Dump Feature
  3. Solaris ZFS : How to Create / Rename / Rollback / Destroy a ZFS Snapshot
  4. 12 iostat examples for Solaris performance troubleshooting
  5. Understanding Special Permissions (setuid, setgid, sticky bit) in Solaris
  6. Solaris 11 : How to configure VLAN tagging on a network interface
  7. How to Install Oracle Solaris 11 (Text Installer)
  8. How to Disable IPv6 in solaris 8,9,10
  9. Managing boot environments in Solaris 11
  10. Solaris : How to start syslogd in debug mode

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright