user/shadow.go
func NewShadow(username string) *Shadow {
	loadConfig()

	return &Shadow{
		Name:    username,
		changed: _ENABLE_AGING,
		Min:     config.login.PASS_MIN_DAYS,
		Max:     config.login.PASS_MAX_DAYS,
		Warn:    config.login.PASS_WARN_AGE,
	}
}
func NewShadow(username string) *Shadow {
	loadConfig()

	return &Shadow{
		Name:    username,
		changed: _ENABLE_AGING,
		Min:     config.login.PASS_MIN_DAYS,
		Max:     config.login.PASS_MAX_DAYS,
		Warn:    config.login.PASS_WARN_AGE,
	}
}
func NewShadow ( username string ) * Shadow { loadConfig ( ) return & Shadow { Name : username , changed : _ENABLE_AGING , Min : config . login . PASS_MIN_DAYS , Max : config . login . PASS_MAX_DAYS , Warn : config . login . PASS_WARN_AGE , } }
// NewShadow returns a structure Shadow with fields "Min", "Max" and "Warn"
// got from the system configuration, and enabling the features of password aging.
NewShadow returns a structure Shadow with fields Min Max and Warn got from the system configuration and enabling the features of password aging .