edwagbb commited on
Commit
21d5d00
·
verified ·
1 Parent(s): be17166

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -21,6 +21,6 @@ expect "Password:"
21
  send "$password\r"
22
  interact
23
  EOF
24
- RUN chmod +x /home/admin/su.sh
25
 
26
  CMD whoami && pwd && (echo pass | /home/admin/su.sh 1001 pass "whoami && pwd")
 
21
  send "$password\r"
22
  interact
23
  EOF
24
+ RUN chmod 666 /home/admin/su.sh
25
 
26
  CMD whoami && pwd && (echo pass | /home/admin/su.sh 1001 pass "whoami && pwd")