Skip to content

A buildmode=c-shared implementation of a simple PAM auth module in Go.

License

Notifications You must be signed in to change notification settings

AmandaCameron/golang-pam-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Go implementation of a simple PAM authentication module. It returns PAM_SUCCESS for "test" and PAM_USER_UNKNOWN for everyone else.

Made this as a proof-of-concept for playing with the new -buildmode=c-shared feature in Go 1.5.

This should not be used without review by someone with more experience with PAM / cgo, as I only did this as a minimal toy.

To build this project you need wgo.

About

A buildmode=c-shared implementation of a simple PAM auth module in Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published