chrootuser

package
v0.0.0-...-09d12d9 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUser

func GetUser(rootdir, userspec string) (uint32, uint32, error)

GetUser will return the uid, gid of the user specified in the userspec it will use the /etc/password and /etc/shadow files inside of the rootdir to return this information. userspace format [user | user:group | uid | uid:gid | user:gid | uid:group ]

Types

This section is empty.

Jump to

Keyboard shortcuts

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