constants

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DirProc = "/proc"

	FileEtcPasswd  = "/etc/passwd"
	FileEtcShadow  = "/etc/shadow"
	FileEtcGroup   = "/etc/group"
	FileEtcGShadow = "/etc/gshadow"

	FileMetadata = "metadata.json"

	GroupNameWheel = "wheel"

	ModeEtcPasswd  = 0644
	ModeEtcShadow  = 0
	ModeEtcGroup   = 0644
	ModeEtcGShadow = 0
)

Variables

View Source
var (
	ChronyUser     string
	SSHPrivsepDir  string
	SSHPrivsepUser string

	DirETRoot string
	DirETBin  = DirETRoot + "/bin"
	DirETSbin = DirETRoot + "/sbin"
	DirETHome = DirETRoot + "/home"
)

"Constants" that are defined with ldflags during compile.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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