types

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2025 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package types provides types for the users package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupEntry

type GroupEntry struct {
	Name   string
	GID    uint32
	Users  []string
	Passwd string
}

GroupEntry is the group information sent to the NSS service.

type GroupInfo

type GroupInfo struct {
	Name string
	GID  *uint32
	UGID string
}

GroupInfo is the group information returned by the broker.

type ShadowEntry

type ShadowEntry struct {
	Name           string
	LastPwdChange  int
	MaxPwdAge      int
	PwdWarnPeriod  int
	PwdInactivity  int
	MinPwdAge      int
	ExpirationDate int
}

ShadowEntry is the shadow information sent to the NSS service.

type UserEntry

type UserEntry struct {
	Name  string
	UID   uint32
	GID   uint32
	Gecos string
	Dir   string
	Shell string
}

UserEntry is the user information sent to the NSS service.

type UserInfo

type UserInfo struct {
	Name  string
	UID   uint32
	Gecos string
	Dir   string
	Shell string

	Groups []GroupInfo
}

UserInfo is the user information returned by the broker.

Jump to

Keyboard shortcuts

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