Description of problem:
I am seeing a difference in behaviour with regard to modutil in RHEL7.5.
RHEL7.5
===========
Red Hat Enterprise Linux release 7.5 Beta (Maipo)
Version: nss-3.34.0-4.el7.x86_64
$ mkdir abc
$ cd abc
$ modutil -dbdir . -create -force
$ modutil -changepw "NSS FIPS 140-2 Certificate DB" -newpwfile <(echo) -force -dbdir . >/dev/null
Enter old password:
RHEL7.4.z
=========
Red Hat Enterprise Linux Server release 7.4 (Maipo)
version: nss-3.28.4-15.el7_4.x86_64
[root@server-3294 abc]# modutil -changepw "NSS FIPS 140-2 Certificate DB" -newpwfile <(echo) -force -dbdir . >/dev/null
[root@server-3294 abc]#
Version-Release number of selected component (if applicable):
nss-tools-3.34.0-0.1.beta1.el7.x86_64
Actual results:
modutil -changepw "NSS FIPS 140-2 Certificate DB" -newpwfile <(echo) -force -dbdir . >/dev/null
The above command prompts for password
Expected results:
modutil -changepw "NSS FIPS 140-2 Certificate DB" -newpwfile <(echo) -force -dbdir . >/dev/null
The above command should not prompt for old password.
Additional info: