Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need help with getting pam-pgsql working #392

Open
kbdavis07 opened this issue Oct 4, 2023 · 3 comments
Open

Need help with getting pam-pgsql working #392

kbdavis07 opened this issue Oct 4, 2023 · 3 comments

Comments

@kbdavis07
Copy link

Hi,

I had been looking every where for documentation on how to set up pam-pgsql, but so far no luck.

Main goal is to save SFTP users in a database instead of on the server itself in a flat file.

Need to know is there any documentation I can be pointed to guide me on this process?

Or if someone can please post here what exactly I need to do to get Atmoz SFTP to use a database hoping to use Postgress to store user info in and use for Auth.

Thanks in Advance,

Brian Davis

@adrian-amaglio
Copy link

Hello,
I am not a maintainer of this repo, but I think you would have to configure the systems pam service to use pam-pgsql.
By using pam-pgsql, you would miss features like homedir creation at startup.

It may be easier to fork this repo to create your own docker image with pam-pgsql.

@kbdavis07
Copy link
Author

kbdavis07 commented Oct 11, 2023

@adrian-amaglio

Yes, I am working off a custom docker file, just having a hard time getting pam-pgsql to work.

Really just looking for documentation in general on how to use pam-pgsql with a SFTP server, I left similar comment in the Pam-pgsql repo still no reply there.

pam-pgsql/pam-pgsql#21

Or if can have an example of pam-pgsql working for an SFTP server just like to see how that is done.

I a Windows person so working with Linux in general for me is all pretty new.

@adrian-amaglio
Copy link

adrian-amaglio commented Oct 12, 2023

You will have better luck asking your question on a dedicated forum. Github issues are dedicated to bug or improvement declarations so no pgsql expert will come by...
You should close this issue and search or ask about psql on dba stackexchange or unix stackexchange

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants