[sudo-users] sudo in /var/run

Todd C. Miller Todd.Miller at courtesan.com
Mon Nov 24 14:05:20 MST 2014


Those directories can't be created at package installation time
since /var/run gets cleared on boot.  They could certainly be created
at boot time either through a startup script or whatever other
mechanism your init supports (such as systemd-tmpfiles).

The problem with something like /var/run/user/$UID/sudo is that the
parent directory is owned by a non-root user and so can't really
be trusted.

This seems like a packaging issue more than anything else.

 - todd


More information about the sudo-users mailing list