/cybersecurity-faq
Learn how to easily change your password expiration policy with this step-by-step guide for better security management.

Need Help Securing Your Business?
Protect your business, stay compliant, and recover fast after any cyber incident.
To change your password expiration policy, adjust the settings in your system’s security options—such as via the Group Policy Editor in Windows or by modifying configuration files like /etc/login.defs in Linux—to specify how long passwords remain valid before a reset is required.
When changing the password expiration policy, you can follow these steps based on your operating system:
For Windows: Open the Group Policy Editor by typing "gpedit.msc" in the Run dialog. Navigate to Computer Configuration > Windows Settings > Security Settings > Account Policies > Password Policy. Here, change the “Maximum password age” setting to your desired number of days. After saving your changes, confirm that they are applied by checking a test user’s policy status.
For Linux: Open the configuration file /etc/login.defs using a text editor like vi or nano. Find the line starting with PASS_MAX_DAYS and modify its value to the maximum number of days you prefer before password expiration. Save the file and restart any affected services if necessary.
Alternative approaches: On Windows, you can also use the command prompt with the “net accounts” command to set the maximum password age. Simply enter net accounts /maxpwage:XX, replacing "XX" with the desired number of days. This method quickly updates the policy across your system.
It is important to test any changes in a secure environment to ensure they are working as expected before a wider rollout. If you encounter specific challenges or need further assistance, we at OCD Tech can offer useful insights into securing and fine-tuning your system settings.
OCD Tech offers a comprehensive suite of cybersecurity and IT assurance services, including SOC 2/3 and SOC for Cybersecurity reporting, IT vulnerability and penetration testing, privileged access management, social engineering assessments, virtual CISO (vCISO) support, IT general controls audits, WISP development, and compliance assistance for frameworks like CMMC, DFARS, and FTC Safeguards.
OCD Tech specializes in serving highly regulated sectors such as financial services, government, higher education, auto dealerships, enterprise organizations, and not-for-profits throughout New England.
Typically, OCD Tech’s on-site work spans 1–2 days, depending on complexity and number of sites, followed by 1–2 weeks of analysis and reporting to deliver clear, actionable recommendations.
SOC 2 reporting demonstrates to clients and prospects that an organization follows best-in-class controls over security, availability, processing integrity, confidentiality, and privacy—boosting trust, meeting RFP/due diligence requirements, and helping secure contracts. OCD Tech helps organizations achieve and maintain this compliance.
Yes—OCD Tech provides guidance for compliance with DFARS (NIST 800‑171), CMMC (Levels 1–3), and FTC Safeguards, ensuring organizations meet specific government or industry-based cybersecurity mandates.
A virtual CISO delivers strategic, executive-level cybersecurity leadership as a service. OCD Tech’s vCISO service is ideal for organizations lacking a full-time CISO and helps build programs, define policy, oversee risk, and guide security maturity.
Absolutely. OCD Tech provides tailored internal IT Audit training and security awareness sessions, plus annual reviews of Written Information Security Programs (WISP), such as Massachusetts 201 CMR 17 and other state or industry-specific controls.

Audit. Security. Assurance.
IT Audit | Cybersecurity | IT Assurance | IT Security Consultants – OCD Tech is a technology consulting firm serving the IT security and consulting needs of businesses in Boston (MA), Braintree (MA) and across New England. We primarily serve Fortune 500 companies including auto dealers, financial institutions, higher education, government contractors, and not-for-profit organizations with SOC 2 reporting, CMMC readiness, IT Security Audits, Penetration Testing and Vulnerability Assessments. We also provide dark web monitoring, DFARS compliance, and IT general controls review.
Contact Info
OCD Tech
25 BHOP, Suite 407, Braintree MA, 02184
844-623-8324
https://ocd-tech.com
Follow Us
Videos
Check Out the Latest Videos From OCD Tech!
Services
SOC Reporting Services
– SOC 2 ® Readiness Assessment
– SOC 2 ®
– SOC 3 ®
– SOC for Cybersecurity ®
IT Advisory Services
– IT Vulnerability Assessment
– Penetration Testing
– Privileged Access Management
– Social Engineering
– WISP
– General IT Controls Review
IT Government Compliance Services
– CMMC
– DFARS Compliance
– FTC Safeguards vCISO