usr

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2017 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const PasswdPathLinux string = "/etc/passwd"

PasswdPathLinux is standard path on GNU/Linux systems to user-data

Variables

This section is empty.

Functions

func ListUsers

func ListUsers(lines []string) ([]user.User, error)

ListUsers lists users according to a system-listing like that of /etc/passwd on gnu/linux

lines is the contents of /etc/passwd (or some similar output) where each element was originally distinguished by a line-break.

Types

This section is empty.

Jump to

Keyboard shortcuts

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