---
title: Managing Passwords in a File
slug: reference-guide-3-0-0/managing-passwords-in-a-file
description: This document provides step-by-step instructions for changing user passwords in legacy systems that store passwords in text files. Learn how to create a SAPM configuration with a file strategy and discover the necessary properties to successfully modify p
docTags: 
createdAt: 2022-07-29T13:36:07.000Z
---

For some systems, especially legacy, user passwords are held in text files, and SAPM will need to change the passwords in the file.
To do this:

Create a **SAPM Configuration** with the **FILE&#x20;**&#x73;trategy (Refer to the section[](https://app.archbee.com/docs/jsymInd0w_SXayMlKGOmR/UmmkCFd-DpxqlMy-5A3vF) [Adding SAPM Configurations](docId\:ALG-lPhgzVzTarTENLI6p))&#x20;

1. Show properties for the new **Configuration**.
2. Set the properties listed below, then create a SAPM account.

change.password.with.super.user
super.username
super.password
file.path
file.regex.to.match
file.regex.to.replace

