Skip to content

Commit 3c56134

Browse files
authored
Merge pull request #73 from cybertec-postgresql/securityContext
fix nss_wrapper
2 parents c66dca1 + 4df2a01 commit 3c56134

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/nss_wrapper/nss_wrapper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ chmod g+rwx ${NSS_ROOT_DIR}
1919

2020
# Check if User and Group already exists, if not add it
2121
if [[ ! $(cat "${NSS_PASSWD}") =~ ${NSS_USERNAME}:x:${CURRENT_USER} ]]; then
22-
passwd_tmp="${NSS_WRAPPER_DIR}/passwd_tmp"
22+
passwd_tmp="${NSS_ROOT_DIR}/passwd_tmp"
2323
cp "${NSS_PASSWD}" "${NSS_PASSWD}.tmp"
2424
sed -i "/${NSS_USERNAME}:x:/d" "${NSS_PASSWD}.tmp"
2525
sed -i "/${CURRENT_USER}:x:/d" "${NSS_PASSWD}.tmp"

0 commit comments

Comments
 (0)