Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Linux Tracker

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 158 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

chage



SYNOPSIS

       chage [-D binddn] [-P path] [-m mindays]
             [-M  maxdays] [-d lastday] [-I inactive] [-E expire­
             date] [-W warndays] user

       chage -l [user]


DESCRIPTION

       chage is used to  list  and  change  the  password  expiry
       information  of a user. It allows the system administrator
       to change the number of days between allowed and  required
       password changes and the date of the last password change.
       It allows also to define when an account will expire.  The
       chage  command  is restricted to the system administrator,
       except for the -l option, which may be used by an user  to
       determine when his password or account is due to expire.

       If  no  option  is given, chage operates in an interactive
       mode, prompting the user with the current values  for  all
       of the fields. Enter the new value to change the field, or
       leave the line blank to use the  current value.


OPTIONS

       -D, --binddn binddn
              Use the Distinguished Name binddn to  bind  to  the
              LDAP  directory.   The  user will be prompted for a
              password for simple authentication.

       -P, --path path
              The passwd and shadow files are located  below  the
              specified  directory  path.  chage  will  use  this
              files, not /etc/passwd and  /etc/shadow.   This  is
              useful for example on NIS master servers, where you
              do not want to give all users in the  NIS  database
              automatic access to your NIS server and the NIS map
              is build from special files.

       -l, --list
              This option will list the password expiry  informa­
              tion  in a human readable format. The user will see
              the date when he  changed  the  password  the  last
              time,  when  the  password will be expire, when the
              password will be locked and when the  account  will
              expire.

       -m, --mindays mindays
              With this option the minimum number of days between
              password changes is changed. A value  of  zero  for
              this  field  indicates that the user may change her
              password at any time. Else the  user  will  not  be
              permitted  to  change  the  password until min days
              have elapsed.
              value  of  zero forces the user to change the pass­
              word at next login.

       -E, --expiredate expiredate
              With this option the date when the account will  be
              expired can be changed. expiredate has to be speci­
              fied as number of days since January 1st, 1970. The
              date  may  also be expressed in the format YYYY-MM-
              DD.

       -I, --inactive inactive
              This option is used to set the number  of  days  of
              inactivity  after a password has expired before the
              account is locked. A user whose account  is  locked
              must contact the system  administrator before being
              able to use the account again.  A value of  0  dis­
              ables this feature.

       -W, --warndays warndays
              With  this  option  the  number  of days of warning
              before  a  password  change  is  required  can   be
              changed. This option is the number of days prior to
              the password expiring that a user  will  be  warned
              the password is about to expire.


BUGS

       chage is not able yet to change the password expiry infor­
       mations in a LDAP server.


FILES

       passwd - user account information
       shadow - shadow user account information


SEE ALSO

       passwd(1), passwd(5)


AUTHOR

       Thorsten Kukuk <kukuk@suse.de>

pwdutils                   January 2003                  chage(1)
  
Show your Support for the Linux Tutorial

Purchase one of the products from our new online shop. For each product you purchase, the Linux Tutorial gets a portion of the proceeds to help keep us going.


Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
The Linux Tutorial can use your help.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds