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 f4ba675 commit 1a0ce27
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/ci-unpriv-test
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ fi

# switch to an unprivileged user
useradd -u 1000 --create-home -s /bin/bash testuser
usermod --add-subuids 10000-75535 testuser
usermod --add-subgids 10000-75535 testuser
rm -f /etc/subuid /etc/subgid
usermod --add-subuids 200000-265535 --add-subgids 200000-265535 testuser
# 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 1a0ce27

Please sign in to comment.