Skip to content

Commit

Permalink
Made tmp/* readable and writeable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtesta committed Sep 12, 2017
1 parent 28b8ff9 commit 5f400d9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions apparmor/home.ssh-mitm.bin.sshd_mitm
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@
/home/ssh-mitm/empty/ r,
/home/ssh-mitm/etc/* r,

# Allow writes to the pid file, along with anything in tmp/ (this is where
# sockets are created for the ssh client to read the password from).
# Allow writes to the pid file.
/home/ssh-mitm/sshd.pid w,
/home/ssh-mitm/tmp/* w,

# Allow reads and writes to anything in tmp/ (this is where sockets are
# created for the ssh client to read the password from).
/home/ssh-mitm/tmp/* rw,

# Allow the shell and SFTP logs to be written.
/home/ssh-mitm/shell_session_*.txt w,
Expand Down

0 comments on commit 5f400d9

Please sign in to comment.