PAM time restrictions - changing Time.conf so it gets time from sql table
PAM time restrictions - changing Time.conf so it gets time from a sql table
I was wondering with the PAM authentication module (pam_time) that I can grab time from a server using sql/postgress which uses TIMEDATE function to get the time of logging out into pam_time ? so basically I want to insert sql statments into Time.conf which would get the time from a table. |
Hi, welcome to LQ!
Quote:
a trigger within postgres using an "unsafe" language, e.g.: Pl/Peru and use that to modify the text file. Trying to get PAM to READ a database would be way more complex. Cheers, Tink |
All times are GMT -5. The time now is 07:22 PM. |