schutzwerk / CANalyzat0r

Security analysis toolkit for proprietary car protocols
https://www.schutzwerk.com/en/43/posts/canalyzat0r/
GNU General Public License v3.0
755 stars 147 forks source link

use global rootshell for privileged commands #9

Closed wamserma closed 5 years ago

wamserma commented 5 years ago

This allows to run CANalyzat0r as regular user (without sudo). Elevated privileges for a background shell are requested on startup in that case. This shell is reused for all commands that require elevated privileges (e.g. changing bitrate)

This is expects pkexec from polkit to be available.

Signed-off-by: Markus S. Wamser markus.wamser@mixed-mode.de

sw-pschmied commented 5 years ago

Thanks! I'll look into it as soon as I can :)