프로젝트
GitHub에서 보기
linux-pam/linux-pam
소개
Linux PAM(Linux용 플러그형 인증 모듈) 프로젝트
보안 및 개인정보 보호측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +3
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalHello!
Thanks for downloading Linux-PAM.
NOTES:
How to use it is as follows:
Please look at the ci/install-dependencies.sh for the necessary
prerequisite packages to be able to build the Linux-PAM. The script
is targeted at Debian based Linux distributions so the package
names and availability might differ on other distributions.
First, configure the build using meson setup:
mkdir build
meson setup <your-options> build
Then compile:
meson compile -C build
To make sure everything was compiled correct, run:
meson test -C build
If a test fails, you should not continue to install this build.
These tests require a suitable file /etc/pam.d/other; if necessary,
create such a file containing, e.g., these five lines (not indented)
#%PAM-1.0
auth required pam_deny.so
account required pam_deny.so
password required pam_deny.so
session required pam_deny.so
Note, if you are worried - don't even think about doing the next line
(most Linux distributions already support PAM out of the box, so if
something goes wrong with installing the code from this version your
box may stop working..)
meson install -C build
That said, please report problems to the bug reporting database
at https://github.com/linux-pam/linux-pam/issues .
To generate manual pages from the XML source files you need the
docbook-xsl stylesheets in version 1.69.1 or newer, older versions had
a bug which generates a broken layout.
Cross-compilation and getlogin():
The default -Dgetlogin=auto disables getlogin() if it honours LOGNAME
(e.g., musl), or if the probe cannot establish safety. The configuration
summary reports the decision and reason. For cross-builds, configure
Meson's exe_wrapper with the target runtime libraries to run the probe,
or select explicitly:
- -Dgetlogin=enabled bypasses detection; use only for a target libc
known not to derive the user name from LOGNAME.
- -Dgetlogin=disabled keeps it disabled for unsafe or unknown targets.
관련 프로젝트 살펴보기
불러오는 중…