Added bash-gitonly.c content, now working.
Added file-stored password for every bdd calls
This commit is contained in:
@@ -5,7 +5,7 @@ all: bash-gitonly pam_oath_key.so auth-keys-gen
|
||||
nargv/argvt.o: nargv/nargv.c
|
||||
gcc -c nargv/nargv.c -o nargv/argvt.o
|
||||
bash-gitonly: nargv/argvt.o bash-gitonly.c
|
||||
gcc bash-gitonly.c nargv/argvt.o -I . -o bash-gitonly
|
||||
gcc bash-gitonly.c nargv/argvt.o -I . -L/usr/server/postgresql/lib -I/usr/server/postgresql/include -lpq -o bash-gitonly
|
||||
|
||||
pam_oath_key.so: pam_oath_key.c
|
||||
gcc pam_oath_key.c -I/usr/system/include/ -I/usr/server/postgresql/include/ -L/usr/server/postgresql/lib/ -L/usr/libraries/lib/ -shared -lpam -lpq -loath -fPIC -o pam_oath_key.so
|
||||
@@ -16,5 +16,6 @@ auth-keys-gen: authKeysPg.c
|
||||
|
||||
install: all
|
||||
cp pam_oath_key.so /lib/security
|
||||
cp pam_oath_key.so /usr/libraries/lib/security/
|
||||
cp bash-gitonly /srv/git/bin
|
||||
cp auth-keys-gen /srv/etc/
|
||||
cp auth-keys-gen /srv/etc/auth-git-keys
|
||||
|
||||
Reference in New Issue
Block a user