Added explaination of why setuid() is disabled when using HD44780
This commit is contained in:
parent
3617199399
commit
436922481b
|
@ -1,7 +1,8 @@
|
||||||
On Linux, to run MMDVMHost as a daemon, set "Daemon=1" in the ini file.
|
On Linux, to run MMDVMHost as a daemon, set "Daemon=1" in the ini file.
|
||||||
|
|
||||||
When this is set, MMDVMHost will attempt to drop privileges to user "mmdvm" and
|
When this is set, MMDVMHost will attempt to drop privileges to user "mmdvm" and
|
||||||
group "mmdvm". If this user and group on your system, an error will occur and
|
group "mmdvm". If this user and group do not exist on your system, an error
|
||||||
|
will occur and
|
||||||
MMDVMHost will not start.
|
MMDVMHost will not start.
|
||||||
|
|
||||||
To add these users, please do the following from the Linux command line:
|
To add these users, please do the following from the Linux command line:
|
||||||
|
@ -12,10 +13,13 @@ usermod mmdvm -G dialout
|
||||||
|
|
||||||
Note, without the last line, MMDVMHost will not be able to open the modem.
|
Note, without the last line, MMDVMHost will not be able to open the modem.
|
||||||
|
|
||||||
Also note, when running as a daemon, STDIN, STDOUT and STDERR are closed, so you
|
Also note, when running as a daemon, STDIN, STDOUT and STDERR are closed, so
|
||||||
must use a logfile to capture logging
|
you must use a logfile to capture logging and the logfile entry in the ini file
|
||||||
and the logfile entry in the ini file must be given a full path as MMDVMHost
|
must be given a full path as MMDVMHost calls "cd /" when daemonising.
|
||||||
calls "cd /" when daemonising.
|
|
||||||
|
Also, please note that the code to drop privileges is currently disabled when
|
||||||
|
MMDVMHost is compiled with the HD44780 display as it's currently not possible to
|
||||||
|
use this display as a non-root user.
|
||||||
|
|
||||||
|
|
||||||
Simon - G7RZU
|
Simon - G7RZU
|
Loading…
Reference in a new issue