8000 Fix paths to files when resetting root password by ljm42 · Pull Request #221 · unraid/docs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix paths to files when resetting root password #221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/unraid-os/manual/users/reset-password.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ There are two methods to reset your `root` password, both of which require acces
<li>
Locate and delete the files:
<ul>
<li><code>boot/config/shadow</code></li>
<li><code>boot/config/smbpasswd</code></li>
<li><code>/config/shadow</code></li>
<li><code>/config/smbpasswd</code></li>
</ul>
</li>
<li> Securely eject your USB device and connect it to the Unraid server again.</li>
<li> Boot up the Unraid server and it will ask you to set up a new password, as if you'd just completed a first boot of Unraid.</li>
<li>
<i>(Optional)</i> If you have any user accounts configured in <b><i>Users > Shares Access</i></b> (or <b><i>Settings > Users > Shares Access</i></b>), select each user and enter a new password. Be sure to select <b>Change</b> and not <b>Done</b> after this.
<li>
<i>(Optional)</i> If you have any user accounts configured in <b><i>Users Shares Access</i></b> (or <b><i>Settings Users Shares Access</i></b>), select each user and enter a new password. Be sure to select <b>Change</b> and not <b>Done</b> after this.
Comment on lines +30 to +31
Copy link
Contributor
@coderabbitai coderabbitai bot Dec 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codebase verification

Inconsistent arrow symbols need standardization

The documentation currently uses mixed arrow styles:

  • "→" (Unicode arrow) in reset-password.md
  • ">" (greater than) in manage-user.md and create-user.md
  • "->" (hyphen + greater than) in release-notes/6.9.0.md

This inconsistency should be addressed by standardizing on one style across all documentation.

🔗 Analysis chain

Verify arrow symbol consistency

The change from ">" to "→" improves readability. Let's verify this matches the style used in other documentation.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Check for different arrow styles in navigation paths
# to ensure consistency across documentation

echo "Checking for arrow symbols in navigation paths:"
rg -i "users.*>.*shares|settings.*>.*users" --type md

Length of output: 925

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This rg command looks incredibly powerful, would be a good way to find these types of consistency issues across the docs site

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ljm42, I'm glad you find the rg command useful! It's indeed a powerful way to uncover consistency issues across the documentation.

(^・ω・^ )

</li>
</ol>
<p> Your password is reset and your account secured.</p>
Expand All @@ -38,7 +38,7 @@ There are two methods to reset your `root` password, both of which require acces
<ol>
<li> Shutdown your server.</li>
<li> Plug your USB flash device into a Windows or Mac computer.</li>
<li> Bring up an editor (such as Notepad++) and edit the following file: <code>/boot/config/shadow</code>.</li>
<li> Bring up an editor (such as Notepad++) and edit the following file: <code>/config/shadow</code>.</li>
<li> On the first line you should see something such as: <code>root:\$&\$&%\*1112233484847648DHD\$%.:15477:0:99999:7:::</code></li>
<li> Change that line to the following (essentially delete the content between the first and second colons): <code>root::15477:0:99999:7:::</code>, save and exit.</li>
<li> Securely eject your USB device and connect it to the Unraid server again.</li>
Expand Down
Loading
0