Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40377 - Authen-PAM by default doesn't work (authentization failure regardless the user/pwd I try to authenticate)
Summary: Authen-PAM by default doesn't work (authentization failure regardless the use...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-04 07:26 UTC by Jan Dusek
Modified: 2006-02-05 09:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Dusek 2004-02-04 07:26:03 UTC
When I try to ebuild Authen-PAM fetch, unpack and then ./configure and make test, I get:
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..12
ok 1
---- The remaining tests will be run for service 'login', user 'root' and
---- device '/dev/pts/4'.
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
---- Now you will be prompted to enter your unix password. On some systems
---- this test will succeed only if you are running as 'root'.
Password:
not ok 10 (7 - Authentication failure)
ok 11
ok 12

This behaviour is partly described here: http://www.cs.kuleuven.ac.be/~pelov/pam/download/Authen-PAM.README

...
  Login Restrictions
  ------------------
  Most of the current configurations of the 'login' service include a
  module 'pam_securetty' or 'pam_access' which restrict the login of
  some users (especially root) depending on the tty or the host name
  they are logging from. The configuration files of these two modules
  are /etc/securetty and  /etc/security/access.conf respectively.
  So if you are running 'make test' and get an error
  '(Authentication failure)' on test 10 then this might be due to
  login restrictions of PAM.
...

Both mentioned config files are in default setings (the latter is empty, the first allow vc/[1-12], tty[1-12]).

Reproducible: Always
Steps to Reproduce:
1.Try to use Authen::PAM
2.You get authentication failure.

Actual Results:  
Authentication failure.

Expected Results:  
Successful authentication (if supplied with correct uname/pwd)

Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1-gentoo)
=================================================================
System uname: 2.6.1-gentoo i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer
-mfpmath=sse -mmmx -msse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer
-mfpmath=sse -mmmx -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/gentoo/
ftp://ftp.tiscali.nl/pub/mirror/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="X aalib acl acpi alsa apm arts avi berkdb cdr crypt cups dvd encode esd
ethereal fbcon foomaticdb gdbm gif gpm gps gtk gtk2 imap imlib jpeg libg++
libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss
pam pcmcia pdflib perl png pnp postgres python qt quicktime readline samba sdl
slang spell sse ssl svga tcltk tcpd tiff truetype usb wavelan x86 xml2 xmms xv
zlib video_cards_radeon"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-05 09:48:58 UTC
This bug got mis-assigned, please try with dev-perl/Authen-PAM-0.16 and reopen if this is still an issue.