diff options
author | Kenneth D'souza <kennethdsouza94@gmail.com> | 2019-09-20 10:13:17 +0530 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-10-08 15:18:48 +0100 |
commit | d7ebe2b3eb66ca7df5f1d3a7161c98b0591528c4 (patch) | |
tree | f5279de775e4b48eed2e7a2e9e4ba761d1cc8b8b /README.md | |
parent | 5c0b2d56313b6fa58b46802317c98b89e5a68508 (diff) | |
download | sos-d7ebe2b3eb66ca7df5f1d3a7161c98b0591528c4.tar.gz |
[filesys] fix postprocessing for /etc/fstab passwords.
The current regex will replace the entire string after password=
with * including the mount options.
This patch fixes this issue by stopping the replacement when ","
(mount option separator)is detected.
Before patch:
//cifs-server/share /mnt cifs username=user1,password=********
After patch:
//cifs-sever/share /mnt cifs username=user1,password=********,nounix,vers=1.0 0 0
Resolves: #1789
Signed-off-by: Kenneth D'souza <kennethdsouza94@gmail.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions