commit | cd692b5a68be0eb95252380db97fbbec587d6350 | [log] [download] |
---|---|---|
author | nicm <nicm> | Mon May 30 12:48:57 2022 +0000 |
committer | nicm <nicm> | Mon May 30 12:48:57 2022 +0000 |
tree | 6135b8c3512fc0d882e990907cc98f88d63716a4 | |
parent | d4423dca19d6d5cbaa97336a744ec760841c3816 [diff] |
Add an ACL list for users connecting to the tmux socket. Users may be forbidden from attaching, forced to attach read-only, or allowed to attach read-write. A new command, server-access, configures the list. tmux gets the user using getpeereid(3) of the client socket. Users must still configure file system permissions manually. From Dallas Lyons and others.