Opened 13 years ago
Closed 13 years ago
#1397 closed task (invalid)
[feature request/suggestion] specify user, drop privileges
Reported by: | rakzer | Owned by: | |
---|---|---|---|
Priority: | trivial | Component: | ! Please select... |
Severity: | medium | Keywords: | setuid seteuid setgid setegid change user drop privileges security |
Cc: | Sensitive: | no |
Description
Most people probably run oscam directly as root. I'm running oscam under an unprivileged user by running:
[code]
$ su - oscam -c "oscam -b -d 0"
code
It would be nice if a user could be specified in oscam.conf. It should probably be made optional (default root) as anything else might constitute a POLA violation for most users.
Implications of this change would be to switch any listening ports to an unprivileged port range (> 1024).
Note:
See TracTickets
for help on using tickets.
doing so could cause a lot of problems not related to oscam. there is no real benefit of running oscam with a unprivileged user.