Documentation
¶
Overview ¶
Package accountaccess defines local account observations shared across IPC.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
Name string `json:"name"`
UID uint32 `json:"uid"`
GID uint32 `json:"gid"`
Home string `json:"home"`
Shell string `json:"shell"`
}
func (Account) KeyDiscoverySupported ¶
KeyDiscoverySupported bounds discovery to root, the owner and accounts using common interactive shells. Shell metadata describes configuration, not login proof.
type Inventory ¶
type Inventory struct {
Accounts []Account `json:"accounts"`
Access map[string]SystemAccess `json:"access"`
}
type SystemAccess ¶
type SystemAccess string
const ( AccessRoot SystemAccess = "root" AccessPassword SystemAccess = "password" AccessPasswordless SystemAccess = "passwordless" AccessReview SystemAccess = "review" )