SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Enabling "Enforce password expiration" on an account with an old password


Enabling "Enforce password expiration" on an account with an old password

Author
Message
jasona.work
jasona.work
SSCarpal Tunnel
SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)

Group: General Forum Members
Points: 4008 Visits: 11728
Noetic,

That's what I was afraid would happen. I'll have to talk this over with my boss, see how he wants to tackle it. It was like this when I started, despite the requirement, so maybe someone either was gaming the system (auditor is coming! Enable it!) or they got a "pass" on having it enabled.
Fox87
Fox87
Say Hey Kid
Say Hey Kid (708 reputation)Say Hey Kid (708 reputation)Say Hey Kid (708 reputation)Say Hey Kid (708 reputation)Say Hey Kid (708 reputation)Say Hey Kid (708 reputation)Say Hey Kid (708 reputation)Say Hey Kid (708 reputation)

Group: General Forum Members
Points: 708 Visits: 595
Well you can alter all the current users by running below code...


USE master

SELECT 'ALTER LOGIN ' + '[' + name + ']'+ ' WITH
CHECK_POLICY = ON,
CHECK_EXPIRATION = ON; 'FROM sys.sql_logins
WHERE is_policy_checked = 0
or is_expiration_checked = 0



Execute your results and you should be fine!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search