When started as user 'root' VDR now switches to a lesser privileged user id, keeping the capability to set the system time

This commit is contained in:
Klaus Schmidinger
2005-12-31 13:30:11 +01:00
parent c65133979f
commit 89df449715
7 changed files with 122 additions and 13 deletions

9
vdr.1
View File

@@ -8,7 +8,7 @@
.\" License as specified in the file COPYING that comes with the
.\" vdr distribution.
.\"
.\" $Id: vdr.1 1.16 2005/12/30 15:09:01 kls Exp $
.\" $Id: vdr.1 1.17 2005/12/31 12:55:16 kls Exp $
.\"
.TH vdr 1 "19 Dec 2004" "1.3.18" "Video Disk Recorder"
.SH NAME
@@ -128,6 +128,13 @@ Call \fIcmd\fR to shutdown the computer.
.BI \-t\ tty ,\ \-\-terminal= tty
Set the controlling terminal.
.TP
.BI \-u\ user ,\ \-\-user= user
Run as user \fIuser\fR in case vdr was started as user 'root'.
Starting vdr as 'root' is necessary if the system time shall
be set from the transponder data, but for security reasons
during normal operation vdr switches to a lesser privileged
user id. By default the user 'vdr' is used.
.TP
.BI \-v\ dir ,\ \-\-video= dir
Use \fIdir\fR as video directory.
The default is \fI/video\fR.