Skip to content

Optional Authentification

Olivier SCHMITT edited this page Nov 15, 2020 · 2 revisions

Optional Authentification

This is legitimate and much requested. So I add a simple module allowing either to define login and password in a file, or to use the pam library of linux systems.

I used the PAM library because it opens up to several other modes. Linux users can add either local accounts on the raspberry pi, or different modules in their authentication system such as LDAP, CAS, Kerberos, MYSQL. This is more complicated but much more secure.

Authantification activation:

Go to the configuration page and adjust as you want:

SERVER Authentification type: 

Defautl:leave blank. Leave blank for disable the authantification. FILE for file authentification. PAM for pam authentification. FILE PAM for use both.

FILE authantification:

When you use FILE authantification, you can set the file account:

SERVER database users file: 

Defautl:UHRR_users.db You can set another location file.

You set accounts as:

F4HTB testpasswd
N7JYS otherpasswd
KB9RLW KevLou
W3DJS HamPisswd

PAM authantification:

It use your pam authentification system. For ad a user in local account without creat home directory etc...

adduser --no-create-home --system thecallsign

then enter the password etc...

For other, you can surch on internet as 'pam ldap on raspberry pi' or 'pam mysql installation' etc...