Open rahulraj80 opened 4 years ago
Mmh this host seems tricky. It does not look like it has user NS enabled. You can't even modify files into /tmp
?
Hi,
I can modify, but cannot execute from that directory:
fy@cp-ht-8 ~ 22:06:40 :) > cd /tmp
fy@cp-ht-8 tmp 22:07:03 :( > nano test.sh
fy@cp-ht-8 tmp 22:07:33 :) > chmod +x test.sh
fy@cp-ht-8 tmp 22:07:42 :) > ./test.sh
-jailshell: ./test.sh: Permission denied
fy@cp-ht-8 tmp 22:07:57 :( > cat test.sh
#!/bin/bash
echo "OK"
That's may explain why proot mode does not work. Proot creates a temporary executable file under /tmp
. In your example is: /tmp/proot-1290-ognELf
.
Regarding the other namespace mode, the user NS is not enabled therefore it is not possible to do run it either.
[Newbie alert] Let me know if I should share some more info:
user~ 20:16:03 :( > uname -a
user~ 20:16:03 :( > lsb_release -a
user ~ 20:12:16 :) > junest OR user ~ 20:13:33 :( > junest ns OR user ~ 20:13:42 :( > junest -f
user ~ 20:13:46 :( > junest g
user ~ 20:13:52 :( > junest p OR user ~ 20:13:56 :( > junest p -f