Red Squirrel
No Lifer
This should be simple but can't seem to find much on google. I found this function but when I try to find what I need to install to make it work it seems to all lead to it being depricated:
pam_auth();
Basically I want to create a form where the user authenticates, and it checks the /etc/passwd to authenticate the user. Idealy I want to check if the user is in a certain group too, but I don't need this for my specific purpose.
How would I go about doing this? Long story short, I'm setting up a SVN server, I don't want to leave the SVN port wide open to all the internet, so I just want to create a basic form that you need to authenticate to first, if you pass authentication it will add your IP to the firewall for like a day.
As a side note, is there a way to make SVN authenticate against /etc/passwd as well? I want to make it so I only have 1 account to manage per user.
pam_auth();
Basically I want to create a form where the user authenticates, and it checks the /etc/passwd to authenticate the user. Idealy I want to check if the user is in a certain group too, but I don't need this for my specific purpose.
How would I go about doing this? Long story short, I'm setting up a SVN server, I don't want to leave the SVN port wide open to all the internet, so I just want to create a basic form that you need to authenticate to first, if you pass authentication it will add your IP to the firewall for like a day.
As a side note, is there a way to make SVN authenticate against /etc/passwd as well? I want to make it so I only have 1 account to manage per user.