Documentation
¶
Overview ¶
Package etcshadow extracts useful info from that file on linux
Csv output is particularly supported, so that a csvfile-based enterprise's ETL tools can also monitor its servers and desktops
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Keys_String2PtrShadowdata ¶
func Keys_String2PtrShadowdata(_mp *map[string]*Shadowdata) []string
Keys_String2PtrShadowdata is generic
func Shadow ¶
func Shadow(_verbose bool) (smap map[string]*Shadowdata)
Shadow extracts info from etc shadow
func SortedKeys_String2PtrShadowdata ¶
func SortedKeys_String2PtrShadowdata(_mp *map[string]*Shadowdata) []string
SortedKeys_String2PtrShadowdata is generic
Types ¶
type Shadowdata ¶
type Shadowdata struct {
Shadowname_ string
PwMd5sum_ string
Nlastchange_ string
Ncanchanges_ string
Nmustchange_ string
Nwarn_ string
Nexpire_ string
Nexpired_ string
Nreserved_ string
}
Shadowdata holds etc shadow info
func (*Shadowdata) SprintShort ¶
func (self *Shadowdata) SprintShort() string
SprintShort is generic
Click to show internal directories.
Click to hide internal directories.