• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

Mac bash file to change Local User & AD user upon nextlogin

Recommended Posts

iampedro    1

Dear Fellow NeoWin Users,

 

I am trying to create a bash command's that will do the following.

 

1. Prompt the user upon next login to change there password and then also every 365 days to change there password.

2. Query the AD that they have credentials to prompt them to change there password also via the bash command.

 

If you have any advise that would be great.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.