update-pepperflashplugin-nonfree checks root incorrectly
Bug #1311936 reported by
Ted Merrill
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pepperflashplugin-nonfree (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 14.04 package pepperflashplug
script /usr/sbin/
[ `whoami` = "root" ] || die_hard "must be root"
This is the wrong way to check for root permission.
It should read something like:
[ `id -u` = '0' ] || die_hard "must be root"
For security reasons, my root user account is not named "root". Almost all programs check for user id 0 but every now and then someone manages to get it wrong.
In this case, i cannot properly update package pepperflashplug
Thanks to whoever will fix this...
-Ted Merrill
Related branches
To post a comment you must log in.
This bug was fixed in the package pepperflashplug in-nonfree - 1.5ubuntu2
--------------- in-nonfree (1.5ubuntu2) utopic; urgency=medium
pepperflashplug
* Suggest chromium-browser instead of chromium, do not suggest
hal (LP: #1273861).
* Fix root permissions check (LP: #1311936).
-- Dmitry Shachnev <email address hidden> Sun, 27 Jul 2014 09:47:05 +0400