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.
1 parent 7a8ea3d commit 4df2a01Copy full SHA for 4df2a01
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