Fix edge cases when specifying the user to run as.
* check the username fits the format expected by adduser; * don't allow root; * if the user exists, don't try to create it; usually, this is harmless, but it fails if the user exists with a UID outside the normal range for system users. Fixes #24.
This commit is contained in:
parent
f391bf4b22
commit
ab8c4db85b
5 changed files with 34 additions and 6 deletions
10
debian/changelog
vendored
10
debian/changelog
vendored
|
|
@ -1,3 +1,13 @@
|
|||
dump1090-mutability (1.15) UNRELEASED; urgency=medium
|
||||
|
||||
* In development.
|
||||
* Validate that the username given to debconf is syntactically OK and
|
||||
isn't root. (github issue #24)
|
||||
* Don't fail on postinst if the given user exists but is outside
|
||||
the usual system user UID range. (github issue #24)
|
||||
|
||||
-- Oliver Jowett <oliver@mutability.co.uk> Thu, 19 Feb 2015 22:39:19 +0000
|
||||
|
||||
dump1090-mutability (1.14) unstable; urgency=medium
|
||||
|
||||
* Position reporting:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue