# Setup Administrator Password
Certain features in the yCrash application, such as deleting reports or restricting resource access, require administrative privileges. To ensure only authorized users can access these sensitive features, you need to set up an Administrator Password. This guide provides step-by-step instructions to configure the Admin Password for your yCrash server.
# Step 1: Open yCrash server launch script
- If you are running the yCrash server on Linux, open
launch-yc-server.sh. - If you are running the yCrash server on Windows, open
launch-yc-server.bat.
Your launch script would look something like this:
java -Xms2g -Xmx4g -DlogDir=. -DuploadDir=. ....
1
# Step 2: Specify the Admin Password
Add the -DadminPassword system property to the launch script. Suppose you want to set the password as t@pSecrete. Modify the script as shown below:
java -Xms2g -Xmx4g -DlogDir=. -DuploadDir=. -DadminPassword=t@pSecrete ....
1
# Step 3: Restart the yCrash Server
After making the changes to the launch script, save the file and restart the yCrash server to apply the new settings.