File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ USER=` whoami`
4+
5+ read -s -p " Password: " PWD
6+ echo " "
7+ if echo " #require \" simple_pam\" ;; Simple_pam.authenticate \" login\" \" $USER \" \" $PWD \" ;;" | utop -stdin; then
8+ echo " PAM is available"
9+ else
10+ echo " Error: you entered wrong password, or PAM is not available. Install pam-devel and reinstall simple_pam if the password is correct"
11+ exit 2
12+ fi
13+
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3+ set -e
4+ set -o pipefail
5+
6+ # check pam-devel is installed
7+ # echo "#include <security/pam_appl.h>" | gcc -E - &> /dev/null; echo $?
8+ ./scripts/check_pam.sh
9+
310ocamlbuild -clean
411./scripts/build.sh src/lfs_config.native
512./scripts/build.sh src/lfs_server.native
You can’t perform that action at this time.
0 commit comments