mod: sysctl: use access() to check for file permissions

Signed-off-by: Markus Pargmann <mpargmann@allfex.org>
helper subprocess call and store output

Signed-off-by: Markus Pargmann <mpargmann@allfex.org>