Re: about Intallation of PAM 0.99.9.0 on Linux CentreOS v2.6.9-42.0.2

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

 



Hey this was happened in past with me also...

You can use your installation CDs to tackle with this problem.

You have to enter into  resque mode and copy pam.d files from that mode

For resque mode refer following website
https://listman.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/s1-rescuemode-boot.html
 
OR
easiest way is copy/create pam configure files from other same system and install PAM 0.99.9.0, but prefer  by solving this problem using resque mode

After that take a backup of your /etc/pam.d and install pam by disabling selinux option. Make all possible configuration checks <. ./configure --help>


On Nov 21, 2007 11:39 AM, QiuChu <qiu.chu@xxxxxxxxxxx> wrote:

I have install PAM 0.99.9.0 on my system, and I have run these commands on the directory unzip from install package.

 

shell>configure --enable-static-libpam

shell>make install

 

A terrible error happened, the message is:

 

Making all in pam_selinux

make[3]: Entering directory `/root/Linux-PAM-0.99.9.0/modules/pam_selinux'

/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..    -I../../libpam/include -I../../libpamc/include -I../../libpam_misc/include -g -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -MT pam_selinux.lo -MD -MP -MF deps/pam_selinux.Tpo -c -o pam_selinux.lo pam_selinux.c

 gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libpam/include -I../../libpamc/include -I../../libpam_misc/include -g -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -MT pam_selinux.lo -MD -MP -MF deps/pam_selinux.Tpo -c pam_selinux.c  -fPIC -DPIC -o .libs/pam_selinux.o

pam_selinux.c: In function `mls_range_allowed':

pam_selinux.c:225: error: `CONTEXT__CONTAINS' undeclared (first use in this function)

pam_selinux.c:225: error: (Each undeclared identifier is reported only once

pam_selinux.c:225: error: for each function it appears in.)

pam_selinux.c:232: error: `SECCLASS_CONTEXT' undeclared (first use in this function)

pam_selinux.c: In function `pam_sm_open_session':

pam_selinux.c:497: warning: implicit declaration of function `getseuserbyname'

pam_selinux.c:498: warning: implicit declaration of function `get_ordered_context_list_with_level'

make[3]: *** [pam_selinux.lo] Error 1

make[3]: Leaving directory `/root/Linux-PAM-0.99.9.0/modules/pam_selinux'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/root/Linux-PAM-0.99.9.0/modules'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/root/Linux-PAM-0.99.9.0'

make: *** [all] Error 2

 

I found that some files /lib64/security is updated. And no file in /etc/pam.d and /etc

Now  I cannot login my system on the monitor or SSH client.

Only by what I can access the system is the SSH windows  which is opened before I install the PAM 0.99.9.0

I thought the PAM is wrong.

Why this  happened? And How can I undo it.

 

Thank you very much!

 

Chu Qiu



用 Windows Live Spaces 展示个性自我,与好友分享生活! 了解更多信息!

_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list



--
Rakesh P. Zingade
+919420357790
_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux