passwd man mistake minage -m should be -n

Bug #600653 reported by Veaceslav Mindru
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shadow (Ubuntu)
Fix Released
Low
Unassigned

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#

Tags: manpage
affects: ubuntu → base-passwd (Ubuntu)
Colin Watson (cjwatson)
affects: base-passwd (Ubuntu) → shadow (Ubuntu)
Mathew Hodson (mhodson)
tags: added: manpage
Changed in shadow (Ubuntu):
importance: Undecided → Low
Changed in shadow (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.