View Issue Details

IDProjectCategoryView StatusLast Update
0000422Pgpool-IIEnhancementpublic2019-01-30 10:08
ReporterjpedersenAssigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0000422: pg_md5: Add support for an user/password input file
DescriptionSince

pg_md5 -u username password

is deprecated it would be nice to have the option to supply an input file with username/password entries that would be MD5 hashed, and added to the pool_passwd file.

That would better enable scripted scenarios where the -p option can't be used.
TagsNo tags attached.

Activities

pengbo

2018-08-13 09:32

developer   ~0002147

> is deprecated it would be nice to have the option to supply an input file with username/password entries that would be MD5 hashed, and added to the pool_passwd file.

You mean adding a option to specify the md5 password file that is now generated as pool_passwd by default?

jpedersen

2018-08-13 21:27

reporter   ~0002151

It could be something like

pg_md5 -m -f conf/pgpool.conf --input-file=users.txt

where users.txt would contain

user1:password1
user2:password2

The resulting pool_passwd would then have

user1:md5XXX
user2:md5YYY

pengbo

2018-08-14 10:27

developer   ~0002152

OK. I see.
We will think about your idea.

jpedersen

2018-11-06 03:48

reporter   ~0002238

Same for pg_enc

administrator

2019-01-30 10:08

administrator   ~0002355

Added to TODO list.
https://pgpool.net/mediawiki/index.php/TODO#Add_support_for_an_user.2Fpassword_input_file_to_pg_md5

Issue History

Date Modified Username Field Change
2018-08-11 02:45 jpedersen New Issue
2018-08-13 09:32 pengbo Note Added: 0002147
2018-08-13 21:27 jpedersen Note Added: 0002151
2018-08-14 10:27 pengbo Note Added: 0002152
2018-11-06 03:48 jpedersen Note Added: 0002238
2019-01-30 10:08 administrator Note Added: 0002355
2019-01-30 10:08 administrator Status new => closed