Hi,
We have an AWS EC2 server. The PAM_mount was setup so that it mounts a windows file server using system credentials when login as CIFS.
Recently I installed shiny server open source in the EC2. I understand the open source version does not support PAM. However, it triggers pam_mount without successfully passing the password. As you can image, it locks my file server account every now and then.
- Can I stop shiny server open source to trigger pam_mount?
- Presumably I cannot ask shiny server open source to pass the password to pam_mount?
- I noticed the pam flag in config file was supported in 1.4 open source version but not current version. Is rolling back shiny version going to help?
The shiny log is attached: cat example-exmple-20241208-085737-41739.log
(rdconf1.c:776): path to luserconf set to /home/exampe/.pam_mount.conf.xml
(pam_mount.c:568): pam_mount 2.18: entering session stage
(pam_mount.c:616): going to readconfig /home/exampe/.pam_mount.conf.xml
reenter password for pam_mount:(rdconf2.c:126): checking sanity of luserconf volume record (assessment)
(mount.c:246): Mount info: luserconf, user=exampe<volume fstype="cifs" server="1.11.111.100" path="exampe" mountpoint="/exampe/exampe2" cipher="(null)" fskeypath="(null)" fskeycipher="(null)" fskeyhash="(null)" options="nodev,nosuid" /> fstab=0 ssh=0
(mount.c:655): Password will be sent to helper as-is.
command: 'mount' '-t' 'cifs' '//exampe/exampe2' '/home/exampe' '-o' 'username=exampe,uid=1002,gid=1002,nodev,nosuid'
(mount.c:68): Messages from underlying mount program:
(mount.c:72): mount error(13): Permission denied
Many thanks