Re: No pam_module.so found

2008-11-09 Thread Unga
--- On Mon, 11/10/08, Dag-Erling Smørgrav [EMAIL PROTECTED] wrote:

 From: Dag-Erling Smørgrav [EMAIL PROTECTED]
 Subject: Re: No pam_module.so found
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Date: Monday, November 10, 2008, 2:30 AM
 Unga [EMAIL PROTECTED] writes:
  All my pam modules reside in /usr/lib/ and the version
 number of pam
  modules match the version number of the libpam
  (/usr/lib/libpam.so.2). Eg. pam_self.so.2 and
 pam_rootok.so.2 are
  available in /usr/lib/.
 
 In 7.0, this should be 4, not 2.
 

Thank you. Appreciate your reply.

Unga



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No pam_module.so found

2008-11-09 Thread Dag-Erling Smørgrav
Unga [EMAIL PROTECTED] writes:
 All my pam modules reside in /usr/lib/ and the version number of pam
 modules match the version number of the libpam
 (/usr/lib/libpam.so.2). Eg. pam_self.so.2 and pam_rootok.so.2 are
 available in /usr/lib/.

In 7.0, this should be 4, not 2.

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


No pam_module.so found

2008-11-08 Thread Unga
Hi all

I have built FreeBSD 7.0 with openpam (ver. 20071221) on (i386).

Now I cannot login through the console, it gives following error message:
login: in openpam_load_module(): no pam_self.so found
login: pam_start(): system error

But I can login remotely using ssh. In both cases I tried only root account.

After ssh into the system, when I try to login as another user, it gives 
following error on the console:
su -l test

su: in openpam_load_module(): no pam_rootok.so found
su: pam_start: system error

All my pam modules reside in /usr/lib/ and the version number of pam modules 
match the version number of the libpam (/usr/lib/libpam.so.2). Eg. 
pam_self.so.2 and pam_rootok.so.2 are available in /usr/lib/.

My first question is, is suffix 2 in this case, the Module Version number?

Second question, what do you guys think, why pam cannot find pam modules?

Kind regards
Unga








  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]