diff options
Diffstat (limited to 'shell')
-rwxr-xr-x | shell | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ #!/bin/sh #this is to keep stale tails from hanging around... -pkill -P 1 -f "tail -f /home/segfault/files/cmd_in" +pkill -P 1 -f "tail -f /home/segfault/files/sh_in" mkdir -p /home/segfault/files -mkfifo /home/segfault/files/cmd_in -mkfifo /home/segfault/files/cmd_out -exec setuidgid segfault tail -f /home/segfault/files/cmd_in | su -l segfault 2>&1 > /home/segfault/files/cmd_out 2>&1 +mkfifo /home/segfault/files/sh_in +mkfifo /home/segfault/files/sh_out +exec setuidgid segfault tail -f /home/segfault/files/sh_in | su -l segfault 2>&1 > /home/segfault/files/sh_out 2>&1 |