Sakartu / clipshare

Small program to share clipboard contents
https://github.com/Sakartu/clipshare
1 stars 0 forks source link

Log to /var/log #4

Closed Sakartu closed 13 years ago

Sakartu commented 13 years ago

The problem with this is that it requires root credentials, meaning that we have to drop these again as soon as we're done setting up the logging.

Sakartu commented 13 years ago

Shouldn't be too hard, following http://antonym.org/2005/12/dropping-privileges-in-python.html

Sakartu commented 13 years ago

Fixed, use init script to start as root, clipshare will then drop privileges (after creating and opening the logfile in /var/log/clipshare.log)