[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#378062: marked as done (cupsys: lppasswd does not work)

Your message dated Wed, 7 Jul 2010 19:42:07 +0200
with message-id <AANLkTilgg1w34Y88nQxsuGecfKIgIKBlH8oWqAwLsS7Z@mail.gmail.com>
and subject line closing bug report
has caused the Debian Bug report #378062,
regarding cupsys: lppasswd does not work
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

378062: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=378062
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cupsys
Version: 1.2.1-3
Severity: normal

{root@tea:~}# lppasswd -a root
Enter password:
Enter password again:
lppasswd: Unable to open password file: Permission denied

stracing lppasswd reveals that it is trying to create /etc/cups/passwd.new

Temporarily chmod'ing og+w /etc/cups reveals that passwd.new is created as user "lp", but /etc/cups is owned by root.

Note: The man page says lppasswd is setuid root, but ls -l shows that on Debian it is setuid lp. Therefore it does not work because it has no write access to /etc/cups

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.28-ow1
Locale: LANG=zh_TW.Big5, LC_CTYPE=zh_TW.Big5 (charmap=BIG5)

Versions of packages cupsys depends on:
ii  adduser                  3.91            Add and remove users and groups
ii  debconf [debconf-2.0]    1.5.2           Debian configuration management sy
ii  gs-esp                   8.15.1.dfsg.1-2 The Ghostscript PostScript interpr
ii  libacl1                  2.2.39-1        Access control list shared library
ii  libc6                    2.3.6-15        GNU C Library: Shared libraries
ii  libcupsimage2            1.2.1-3         Common UNIX Printing System(tm) - 
ii  libcupsys2               1.2.1-3         Common UNIX Printing System(tm) - 
ii  libdbus-1-2              0.62-4          simple interprocess messaging syst
ii  libgnutls13              1.3.5-1.1       the GNU TLS library - runtime libr
ii  libldap2                 2.1.30-13       OpenLDAP libraries
ii  libpam0g                 0.79-3.1        Pluggable Authentication Modules l
ii  libpaper1                1.1.19          Library for handling paper charact
ii  libslp1                  1.2.1-5         OpenSLP libraries
ii  lsb-base                 3.1-10          Linux Standard Base 3.1 init scrip
ii  patch                    2.5.9-4         Apply a diff file to an original
ii  perl-modules             5.8.8-6         Core Perl modules
ii  procps                   1:3.2.7-2       /proc file system utilities
ii  xpdf-utils [poppler-util 3.01-8          Portable Document Format (PDF) sui
ii  zlib1g                   1:1.2.3-12      compression library - runtime

Versions of packages cupsys recommends:
ii  cupsys-client                 1.2.1-3    Common UNIX Printing System(tm) - 
pn  foomatic-filters              <none>     (no description available)
ii  smbclient                     3.0.22-1   a LanManager-like simple client fo

-- debconf information:
  cupsys/raw-print: true
  cupsys/ports: 631
* cupsys/backend: ipp, lpd, parallel, socket, usb
  cupsys/browse: true

--- End Message ---
--- Begin Message --- Hi,

This bug no longer applies to current versions in repositories.
(It was fixed in 1.3.7-5 and current stable release is
So, it can be closed.



--- End Message ---

Reply to: