minor proof editing
|2 years ago|
|.gitignore||3 years ago|
|LICENSE||3 years ago|
|README.org||2 years ago|
|nextcloud-login||3 years ago|
|pam_nextcloud.py||3 years ago|
The pam_nextcloud is a Pluggable Authenication Module (PAM) module used to verify a user against a cloud service's database. The cloud service supported be Nextcloud or Owncloud [not tested]. The idea is simple, convert any Linux distribution into a cloud OS, something similar to Chrome OS or Chromium OS, but not using any Google services.-
I started this project because I would like to use something similar to Chrome OS without Google Drive and that is fully opensource.
You may experience some delay duing the moments where the module is validating the username and password with the server. It is reccommended to test in virtual machine prior to usage in a personal computer.
Clone the repository.
git clone https://github.com/nexhero/pam_nextcloud.git cd pam_nextcloud/
As root execute the next commands.
mkdir /lib/security cp pam_nextcloud.py /lib/security/ cp nextcloud-login /etc/pam.d/
Create the conf file that holds the url server
echo "https://url" > /etc/sync_os.conf
We'll need to modify some PAM files as root. Don't worry I've got your back!. Open with any text editor the file /etc/pam.d/common-auth Add this line.
In the next line
auth [success=1 default=ignore] pam_unix.so nullok_secure
auth [success=1 default=ignore] pam_unix.so nullok_secure try_first_pass
David Pereira <firstname.lastname@example.org>
GNU General Public License v3.0 - LICENSE