Package: flashplugin-nonfree
Version: 1:2.8.2
Severity: minor
Tags: patch

On my system, there is two users which share uid 0: root-atto and root. 

The patch provided replace the whoami = root by "id -u" = 0 which is
maybe more general (relying on numeric id is probably more secure).

This is a totally optional patch -- my situation is not common.

Regards
Sylvain Le Gall


-- Package-specific info:
Debian version: 6.0
Architecture: amd64
Package version: 1:2.8.2
Adobe Flash Player version: LNX 10,3,162,29
MD5 checksums:
        49b55c7eb8044453e5f6f2e4b3cb4084  
/var/cache/flashplugin-nonfree/flashplayer10_2_p3_64bit_linux_111710.tar.gz
        267bfdb38d14c9d96d0d04e273c3d961  
/usr/lib/flashplugin-nonfree/libflashplayer.so
Alternatives:
        flash-mozilla.so - auto mode
          link currently points to 
/usr/lib/flashplugin-nonfree/libflashplayer.so
        /usr/lib/flashplugin-nonfree/libflashplayer.so - priority 50
        /usr/lib/gnash/libgnashplugin.so - priority 10
        Current 'best' version is 
'/usr/lib/flashplugin-nonfree/libflashplayer.so'.
        lrwxrwxrwx 1 root-atto root 34 Mar 16 10:32 
/usr/lib/mozilla/plugins/flash-mozilla.so -> /etc/alternatives/flash-mozilla.so
        /usr/lib/mozilla/plugins/flash-mozilla.so: symbolic link to 
`/etc/alternatives/flash-mozilla.so'

-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/3 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages flashplugin-nonfree depends on:
ii  debconf [debconf-2.0]  1.5.36.1          Debian configuration management sy
ii  gnupg                  1.4.10-4          GNU privacy guard - a free PGP rep
ii  libatk1.0-0            1.30.0-1          The ATK accessibility toolkit
ii  libcairo2              1.8.10-6          The Cairo 2D vector graphics libra
ii  libcurl3-gnutls        7.21.0-1          Multi-protocol file transfer libra
ii  libfontconfig1         2.8.0-2.1         generic font configuration library
ii  libfreetype6           2.4.2-2.1         FreeType 2 font engine, shared lib
ii  libgcc1                1:4.4.5-8         GCC support library
ii  libglib2.0-0           2.24.2-1          The GLib library of C routines
ii  libgtk2.0-0            2.20.1-2          The GTK+ graphical user interface 
ii  libnspr4-0d            4.8.6-1           NetScape Portable Runtime Library
ii  libnss3-1d             3.12.8-1          Network Security Service libraries
ii  libpango1.0-0          1.28.3-1+squeeze1 Layout and rendering of internatio
ii  libstdc++6             4.4.5-8           The GNU Standard C++ Library v3
ii  libx11-6               2:1.3.3-4         X11 client-side library
ii  libxext6               2:1.1.2-1         X11 miscellaneous extension librar
ii  libxt6                 1:1.0.7-1         X11 toolkit intrinsics library
ii  wget                   1.12-2.1          retrieves files from the web

flashplugin-nonfree recommends no packages.

Versions of packages flashplugin-nonfree suggests:
pn  flashplugin-nonfree-extrasoun <none>     (no description available)
ii  iceweasel                     3.5.16-4   Web browser based on Firefox
pn  konqueror-nsplugins           <none>     (no description available)
ii  msttcorefonts                 2.7        transitional dummy package
ii  ttf-dejavu                    2.31-1     Metapackage to pull in ttf-dejavu-
ii  ttf-mscorefonts-installer [ms 3.3        Installer for Microsoft TrueType c
pn  ttf-xfree86-nonfree           <none>     (no description available)
ii  x-ttcidfont-conf              32         TrueType and CID fonts configurati

-- no debconf information
--- /usr/sbin/update-flashplugin-nonfree        2010-09-17 20:42:15.000000000 
+0200
+++ ./update-flashplugin-nonfree        2011-03-16 10:31:23.000000000 +0100
@@ -23,7 +23,7 @@
        exit 1
 }
 
-[ `whoami` = "root" ] || die_hard "must be root"
+[ `id -u` = "0" ] || die_hard "must be root"
 
 show_usage() {
        echo "Usage:"

Reply via email to