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

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



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 展示个性自我,与好友分享生活! 了解更多信息!

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