authen

package
v0.0.0-...-647cc36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2017 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Checks user Credentials (/etc/shaddow). Uses "github.com/kless/osutil/user" and "github.com/kless/osutil/user/crypt".

Index

Constants

This section is empty.

Variables

View Source
var NoSuchUser = errors.New("no such user")

Functions

func AuthenticatePassword

func AuthenticatePassword(usr string, password []byte) (err error)

Authenticates an user using his name and password. Returns nil, if the Credentials match.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL