Hi
My 2 cents :
"zadmin" is a very special user. Currently it is fixed (this does not hurts security as long as you setup a password long enough for it) but it was asked many time to enable to change it, so it may be done one day.
Using a such modifyed setzadmin script should works now, but doing so is not safe because nobody will not take such use in account if later setzadmin become modified according to new requirements.
If you really need a command line tool to change user password, it would be better to modify the script setzadmin to include username entry in arguments, ie: --user=username (default=zadmin), or to rewrite a new tool dedicated to that. (In both cases, think to issue a pull request on github !)
My 2 cents :
"zadmin" is a very special user. Currently it is fixed (this does not hurts security as long as you setup a password long enough for it) but it was asked many time to enable to change it, so it may be done one day.
Using a such modifyed setzadmin script should works now, but doing so is not safe because nobody will not take such use in account if later setzadmin become modified according to new requirements.
If you really need a command line tool to change user password, it would be better to modify the script setzadmin to include username entry in arguments, ie: --user=username (default=zadmin), or to rewrite a new tool dedicated to that. (In both cases, think to issue a pull request on github !)