← Back to team overview

touch-packages team mailing list archive

[Bug 600653] Re: passwd man mistake minage -m should be -n

 

** Tags added: manpage

** Changed in: shadow (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/600653

Title:
  passwd man mistake minage -m should  be -n

Status in shadow package in Ubuntu:
  New

Bug description:
  root@XXXXXXXXXX:/etc/pam.d# cat /etc/issue
  Ubuntu 8.10 \n \l

  root@XXXXXXXXX:/etc/pam.d# man passwd | grep min
         -m, --mindays MIN_DAYS
             Set the minimum number of days between password changes to
             of the last password change. The next four fields are the minimum
  root@onmsip02:/etc/pam.d# passwd -m 1 root
  passwd: invalid option -- 'm'
  Usage: passwd [options] [LOGIN]

  Options:
    -a, --all                     report password status on all accounts
    -d, --delete                  delete the password for the named account
    -e, --expire                  force expire the password for the named account
    -h, --help                    display this help message and exit
    -k, --keep-tokens             change password only if expired
    -i, --inactive INACTIVE       set password inactive after expiration
                                  to INACTIVE
    -l, --lock                    lock the named account
    -n, --mindays MIN_DAYS        set minimum number of days before password
                                  change to MIN_DAYS
    -q, --quiet                   quiet mode
    -r, --repository REPOSITORY   change password in REPOSITORY repository
    -S, --status                  report password status on the named account
    -u, --unlock                  unlock the named account
    -w, --warndays WARN_DAYS      set expiration warning days to WARN_DAYS
    -x, --maxdays MAX_DAYS        set maximim number of days before password
                                  change to MAX_DAYS

  
  root@XXXXXXXXX:/etc/pam.d# passwd -n 1 root && echo $?
  Password changed.
  0
  root@XXXXXXXX:/etc/pam.d#

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/600653/+subscriptions