Browse
Jamf Nation Community
Products
Community & Events
Groups
Help
Sign In
04-10-2022
takayoshi_nakao
New Contributor
Joined:
January 2015
User Statistics
1
Posts
0
Solutions
2
Kudos given
0
Kudos received
View all badges
Jamf Nation Community
About takayoshi_nakao
User Activity
Posts
Replies
No posts to display.
Re: Password Expiration Warning without Active Directory
06-03-2015
Hi Ian-san, How about this? #!/bin/bash loggedInUser=$( ls -l /dev/console | awk '{print $3}' ) pwdSetEpoch=$( dscl . -read /Users/$loggedInUser accountPolicyData | sed -n '/passwordLastSetTime/{n;s@.*(.*)@1@p;}') pwdLastSetUnix=$( echo $pwdSetEpoch ...
Kudos given to
User
Count
cmdGriggs
1
donmontalvo
1
View all