diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-01-26 11:01:23 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-01-26 11:01:23 +0100 |
commit | f9fe31fff07b2dec07c801a58dd732ca413d0c0e (patch) | |
tree | c43350ae5d2e1f5fab5e1d08ed591d8f59dff39e | |
parent | restrict to root and the video herd (diff) | |
download | adjbacklight-f9fe31fff07b2dec07c801a58dd732ca413d0c0e.tar.gz adjbacklight-f9fe31fff07b2dec07c801a58dd732ca413d0c0e.tar.bz2 adjbacklight-f9fe31fff07b2dec07c801a58dd732ca413d0c0e.tar.xz |
doc permissions in info manual
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | info/adjbacklight.texinfo | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/info/adjbacklight.texinfo b/info/adjbacklight.texinfo index 000a742..fb5e16b 100644 --- a/info/adjbacklight.texinfo +++ b/info/adjbacklight.texinfo @@ -86,6 +86,16 @@ at least that. If you want higher precision, it is simple to modify the source code. Just run @code{sed -i s/200/400/g src/adjbacklight.c}, if you want 0.25 % precision. +@cindex root +@cindex video +@cindex permissions +To use @command{adjbacklight} you must either be root or be a member of the +group `video'. The `video' membership requirement is artificial so you can rip +that out from the code if you prefer, but the effective user must be `root' +(EUID = 0) otherwise you will not have permission to use files in +@file{/sys/class/backlight} unless you make your initialisation +system give you access. + @node Invoking |