Mailinglist Archive: opensuse (783 mails)

< Previous Next >
Re: [opensuse] PHP Login
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Tue, 10 Oct 2017 17:02:29 +0200
  • Message-id: <orine5$10t$2@saturn.local.net>
Paul Groves wrote:

Hi,

Currently we have a php site with an SQL table of users. Users can
login and reset their own password, admins can reset other users
passwords.


However we would like to link to the built in system users on the
local machine.

So basically I would like a login form in PHP that uses the system
users instead of an sql table.

Paul, a bit of googling would have helped you right away -

https://unix.stackexchange.com/questions/105098/securest-way-to-authenticate-users-against-etc-shadow-using-php
https://stackoverflow.com/questions/3765304/how-would-i-use-php-to-authenticate-with-linux-users-and-passwords

https://pecl.php.net/package/PAM


Have fun
Per

--
Per Jessen, Zürich (16.4°C)
http://www.dns24.ch/ - free dynamic DNS, made in Switzerland.


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
References