aboutsummaryrefslogtreecommitdiff
path: root/server-acl.c
Commit message (Collapse)AuthorAge
* On platforms with no way to get peer UID, use getuid(), also fix some failureNicholas Marriott2022-04-06
| | | | checks.
* Some style nits.Nicholas Marriott2022-04-06
|
* Add an ACL list for users connecting to the tmux socket. Users may be forbiddenNicholas Marriott2022-04-06
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.