mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-09-28 20:41:57 +02:00
feat: support pentests with Codex subscription auth (#419)
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ if [ -n "$TARGET_UID" ] && [ "$TARGET_UID" != "$CURRENT_UID" ]; then
|
||||
groupadd -g "$TARGET_GID" pentest
|
||||
useradd -u "$TARGET_UID" -g pentest -s /bin/bash -M pentest
|
||||
|
||||
chown -R pentest:pentest /app/sessions /app/workspaces /tmp/.claude
|
||||
chown -R pentest:pentest /app/sessions /app/workspaces /tmp/.claude /tmp/.pi
|
||||
fi
|
||||
|
||||
exec su -m pentest -c "exec $*"
|
||||
|
||||
Reference in New Issue
Block a user