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

Bug#385068: add some pam features



General Stone <generalstone@gmx.net> writes:

> Package: cupsys
> Version: 1.2.2-1
> Severity: wishlist
> Tags: patch
>
> Please add these pam features:
>
> 1) pam_set_item(pamh, PAM_TTY, "cups")
>    -----------------------------------
>    Need by some pam-modules which need the 'tty' variable, like
>    pam_group, pam_access, pam_time, etc.

I'm fairly sure that the PAM_TTY must be a terminal device.  There
might be security issues in using a "fake" TTY: that's a relative
path, and so a "cups" "TTY" could be created in the CWD and
potentially abused (for example, a hard or soft link to a real TTY).
If there isn't a TTY, PAM_TTY should probably be left unset.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: pgpzTtDDRsVMp.pgp
Description: PGP signature


Reply to: