We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c66dca1 + 4df2a01 commit 3c56134Copy full SHA for 3c56134
scripts/nss_wrapper/nss_wrapper.sh
@@ -19,7 +19,7 @@ chmod g+rwx ${NSS_ROOT_DIR}
19
20
# Check if User and Group already exists, if not add it
21
if [[ ! $(cat "${NSS_PASSWD}") =~ ${NSS_USERNAME}:x:${CURRENT_USER} ]]; then
22
- passwd_tmp="${NSS_WRAPPER_DIR}/passwd_tmp"
+ passwd_tmp="${NSS_ROOT_DIR}/passwd_tmp"
23
cp "${NSS_PASSWD}" "${NSS_PASSWD}.tmp"
24
sed -i "/${NSS_USERNAME}:x:/d" "${NSS_PASSWD}.tmp"
25
sed -i "/${CURRENT_USER}:x:/d" "${NSS_PASSWD}.tmp"
0 commit comments