Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2001 15:14:39 -0700 (PDT)
From:      Christopher Shumway <cshumway@titan-project.org>
To:        Dave <mudman@R181172.resnet.ucsb.edu>
Cc:        <freebsd-security@FreeBSD.ORG>
Subject:   Re: pam sessions?? login modules??
Message-ID:  <20010926151323.M12463-100000@titan.titan-project.org>
In-Reply-To: <Pine.BSF.4.33.0109261502430.291-100000@R181172.resnet.ucsb.edu>

index | next in thread | previous in thread | raw e-mail

On Wed, 26 Sep 2001, Dave wrote:

> Hi, I recently updated to 4.4 REL from (guess what) 4.3 REL =-)
> Anyway, making world, kernel, and all that pretty much went ok.  But, for
> some reason, I get some weird messages associated with logging in... is
> this a danger?
>
> [This is pretty much a local/console login, although I also get them when
> connecting remotely]
>
> FreeBSD/i386 (xyzhost.somewhere.com) (ttyv0)
> login: anyaccount
> Password:
> Last login: Wed Sep 26 14:53:38 on ttyv0
> Sep 26 14:55:39 xyzhost login: no modules loaded for `login' service
> Sep 26 14:55:39 xyzhost login: no modules loaded for `login' service
> Sep 26 14:55:39 xyzhost login: no modules loaded for `login' service
> Sep 26 14:55:39 xyzhost login: pam_open_session: Permission denied
> Sep 26 14:55:39 xyzhost login: pam_open_session: Permission denied
> Sep 26 14:55:39 xyzhost login: pam_open_session: Permission denied
> -----
>
> I once heard that pam sessions were somehow associated with ssh, but why
> do I get complaints about no modules being loaded for 'login' service?
> Should I have modules loaded?  If so, what am I loading here?? :)

Did you remember to run mergemaster(8) after your update to make sure the
files in /etc/ are up to date?  Specifically you need this in /etc/pam.conf:

login   auth    sufficient      pam_skey.so
login   auth    requisite       pam_cleartext_pass_ok.so
login   auth    required        pam_unix.so                     try_first_pass
login   account required        pam_unix.so
login   password required       pam_permit.so
login   session required        pam_permit.so


---
Christopher Shumway				cshumway@titan-project.org
						cshumway@freebsd.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010926151323.M12463-100000>