Skip to content

Commit 3436372

Browse files
Use chpasswd instead of passwd
1 parent e0fbf36 commit 3436372

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/tfs/linux/smoketest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ step "Build minified" \
2626
npm run gulp -- --max_old_space_size=4096 "vscode-linux-$ARCH-min"
2727

2828
step "Configure environment" \
29-
id -u testuser || (useradd -m testuser; echo -e "testpassword\ntestpassword" | passwd testuser)
29+
id -u testuser || (useradd -m testuser; chpasswd <<< testuser:testpassword)
3030
su testuser
3131
cd $BUILD_REPOSITORY_LOCALPATH
3232
git config --global user.name "Michel Kaporin"

0 commit comments

Comments
 (0)