Skip to content

About

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

Resources

Stars

21 stars

Watchers

2 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

21 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages