Oracle Solaris System Administration (MOSC)

MOSC Banner

/etc/default/login changes aren't honored on solaris 11.4

Hi all:

Recently was asked to make some changes to a solaris 11.4 server farm on /etc/default/login.

The request was to modify:

SLEEPTIME = 4

RETRIES=5

SYSLOG_FAILED_LOGINGS =0

These servers are ranging from 11.4.22 to 11.4.33; so jump to modify /etc/default/login and later found that all functions were moved to svc:/system/account-policy:default

Was confused since all statics files that are moved to SMF have a header telling you

#DO NOT MODIFY THIS FILE MANUALLY USE SFM/SVC XXXXXX:SSSSSSS

So invoke from CLI Shell:

svccfg -s account-policy

setprop login_policy/sleeptime = 4      

setprop login_policy/retries = 5

setprop login/log/syslog_failed_attempts = 0

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center