system auth

1.0.0

A library to authenticate against system user accounts (PAM etc.)

Table of Contents

About system-auth

This library lets you authenticate against accounts that exist on the local system (Linux PAM, Windows NT Accounts).

How To

Most of the time you'll just want to run org.shirakumo.system-auth:login with the username and password that you'd like to check. If successful you'll get a login instance back, and if not an error will be signalled. You can then use that instance to query some extra data via fields or change the password via change-password. Once you are done using the account, call logout again.

You can also try to list the set of known system account names via list-accounts.

Note that, of course, all of these functions are heavily dependent on the current system state and the capabilities of the process running system-auth. Further, there is no standard way to create or remove accounts with this method, or store other kind of application data that you might want to tie to user accounts for your own needs, so you will most likely need to make use of local system administration utilities and out-of-band databases for those remaining bits.

System Information

1.0.0
Yukari Hafner
zlib

Definition Index