constants

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DirRoot = "/"
	DirProc = "/proc"
	DirRun  = "/run"
	DirTmp  = "/tmp"

	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"
	DirETEtc      = DirETRoot + "/etc"
	DirETHome     = DirETRoot + "/home"
	DirETRun      = DirETRoot + "/run"
	DirETServices = DirETRoot + "/services"
)

"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