Recipe 6.30. Finding Users Whose Passwords Are About to Expire
6.30.1. Problem
You want to find the users whose passwords are about to
expire.
6.30.2. Solution
6.30.2.1. Using a command-line interface
> dsquery user -stalepwd <NumDaysSinceLastPwdChange>
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial