Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
  • Loading branch information
JasonYangShadow committed Sep 11, 2024
1 parent 1a0ce27 commit 6cefe6b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/ci-unpriv-test
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ fi

# switch to an unprivileged user
useradd -u 1000 --create-home -s /bin/bash testuser
usermod --add-subuids 200000-265535 --add-subgids 200000-265535 testuser
# rm -f /etc/subuid /etc/subgid
echo "testuser:10000:65536" >> /etc/subuid
echo "testuser:10000:65536" >> /etc/subgid
#rm -f /etc/subuid /etc/subgid

# Be careful not to use unescaped single quotes in these commands
su testuser -c '
Expand Down

0 comments on commit 6cefe6b

Please sign in to comment.