/usr/bin/shm_askpass is in libpam-sshauth 0.4.1-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | #!/bin/sh
[ -z "${PAM_SSHAUTH_DIR}" ] && exit 1
PASSWORD=$(cat "${PAM_SSHAUTH_DIR}/.passwd")
echo "${PASSWORD}"
ID=$(id -u)
if [ "${ID}" != "0" ]; then
rm "${PAM_SSHAUTH_DIR}/.passwd"
fi
|