Public bug reported:

r...@xxxxxxxxxx:/etc/pam.d# cat /etc/issue
Ubuntu 8.10 \n \l

r...@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
r...@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


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

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
passwd man mistake minage -m should  be -n 
https://bugs.launchpad.net/bugs/600653
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to