Package: pmount
Version: 0.9.99-alpha-1
Severity: normal

Dear Maintainer,

Consider the following session:

~ $ who am i
cigaes   pts/19       Jul 19 16:42 (:0)
~ $ pmount /dev/disk/by-label/CIGAES_16G test
You are not physically logged in and your system administrator does not
allow remote users to run pmount, aborting

(I am logged using 1:1.1.11-1.)

The problem is in src/policy.c, function user_physically_logged_in(): it
should accept lines made of a colon followed by a number.

It can be worked around by setting "not_physically_logged_allow = no" in the
config file, but that loses a feature that was requested in some other bug
reports. It can also be worked around by opening a useless session on a text
console.

Regards,

-- 
  Nicolas George


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages pmount depends on:
ii  libblkid1  2.20.1-5.8
ii  libc6      2.19-7

pmount recommends no packages.

Versions of packages pmount suggests:
pn  cryptsetup  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to