[Pkg-shadow-devel] --keep-tokens "not working as expected"

lev abalkin lev.abalkin at insiberia.net
Fri Aug 29 09:26:18 UTC 2014


Hello there!


Have the following problem(s) with the `--keep-tokens` option of
`passwd` I found some hints that other people seem to have to:


Problem
-----------
# trying to set a new password with or without the `--keep-tokens`
option isn't possible - as expected
# I've tried this both as root and as user to whom the account |
password belongs: As expected, `root` changes the password no matter what


Question:
-------------
I wonder what the actual use of the `--keep-tokens` option might be. I
read the info page both in English and my mothertounge as "don't change
passwords if not expired", which it should anyway, I guess. This two
posts describe the same problem:
https://unix.stackexchange.com/questions/152690/understanding-passwd-keep-tokens/152724#152724
https://bbs.archlinux.org/viewtopic.php?id=50649

Thanks for the good work on `passwd`and thanks in advance for all your
efforts!

All the best
Lev



More information about the Pkg-shadow-devel mailing list