pam: Haskell binding for C PAM API

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

This package provides PAM interface for Haskell programs. See the README on GitHub at see the README on GitHub at <https://github.com/oscar-h64/pam-haskell#readme for more information.


[Skip to Readme]

Properties

Versions 0.1, 0.2.0.0, 0.2.0.0
Change log ChangeLog.md
Dependencies base (>=4 && <5) [details]
License BSD-3-Clause
Copyright (c) 2011 Evgeny Tarasov (c) 2020 Oscar Harris
Author Evgeny Tarasov <etarasov.ekb@gmail.com>
Maintainer Oscar Harris <oscar@oscar-h.com>
Category System, Authentication
Home page https://github.com/oscar-h64/pam-haskell
Bug tracker https://github.com/oscar-h64/pam-haskell/issues
Source repo head: git clone https://github.com/oscar-h64/pam-haskell
Uploaded by OscarH at 2020-07-01T19:49:23Z

Modules

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for pam-0.2.0.0

[back to package description]

pam

Haskell CI Hackage

Haskell bindings for PAM. Note that this does not currently include the required bindings to write PAM modules

Usage:

To authenticate a user test using the system-local-login PAM configuration:

authenticate "system-local-login" "test" "PASSWORD"

To check if a user test exists using the system-auth PAM configuration:

checkAccount "system-auth" "test"

If the operation was successful then PamSuccess will be returned, otherwise PamCode a, where a represents the reason for the failure.

pamCodeToMessage, pamCodeToCDefine and pamCodeDetails can be used to get further details about the response, and isSuccess can be used to check if the operation was successful. See the Haddock documentation for more details on these functions.

Documentation:

The documentation is available on Hackage

Changes in v0.2.0.0:

Planned Changes:

Contributing:

See here for more information