delete the newly created users.yaml and rename your backup version - now modified with your new credentials - into users.yaml again, e.g.open the backed up version of users.yaml in a text editor, locate your user account therein and replace all its lines with those you just copied from the newly created users.yaml.open the the newly created users.yaml in a text editor - there will only be one entry, your new admin account, copy all of those lines.run the access control wizard again like explained above.make a backup copy of users.yaml, e.g.: cp ~/.octoprint/users.yaml ~/.octoprint/ Press the Windows Key or select the Windows icon to open the Start menu, and then select the gear icon to open the Settings.If you are the only admin user, do the following:.I have forgotten the admin password and currently can only access the guest account. If you have another user that's configured with admin rights, ask them to reset your password via "Settings" > "Access Control" Hello, Im a novice using an old hand me down laptop running windows 81.If you have multiple users configured which you don't want to lose, you have two options: If you have it installed on MacOS, the locations will be ~/Library/Application\ Support/OctoPrint/users.yaml and ~/Library/Application\ Support/OctoPrint/config.yaml. If you have the OctoPrint server installed on Windows, the location of the files will be %APPDATA%\OctoPrint\users.yaml and %APPDATA%\OctoPrint\config.yaml. Sed -i -e 's/firstRun: false/firstRun: true/g' ~/.octoprint/config.yaml If you are running OctoPi, you can use these commands to do all that: rm ~/.octoprint/users.yaml restart the OctoPrint server and reload, you should be prompted to run the first time setup wizard again.in ~/.octoprint/config.yaml replace firstRun: false with firstRun: true.If you only have a single user setup in OctoPrint for which you forgot the password, the easiest way is simply resetting OctoPrint's user database and run the access control wizard again. OctoPrint earlier than 1.3.12 If you only have a single user set up Using a Asus ROG laptop, I will show you how to restart your computer. Restart OctoPrint for your changes to take effect, using sudo service octoprint restart or similar. If you forgot your Windows password, this video will help you get into your computer.It will prompt you for a new password and then set it on the user. octoprint user password test for changing the password of the user named test. Run octoprint user password with being the name of the user for whom you want to reset the password, e.g.by SSHing into your Pi or other machine that OctoPrint is installed on - note that the password for SSHing into the Pi is not the one you use to access OctoPrint's web interface, on OctoPi it defaults to the username "pi" and password "raspberry"). You'll need to do this via the command line (e.g.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |