Dashboard Dissable Password

From PiStar Wiki
Jump to navigationJump to search

How to disable the password prompt on the dashboard.

1. SSH into your Pi-Star

2. Make the disk writable

  [email protected](ro):~$ rpi-rw
  [email protected](rw):~$ 

3. Edit the nginx config file as root:

 [email protected](rw):~$ sudo nano /etc/nginx/sites-enabled/pi-star

4. Comment out the following lines:

       location ^~ /admin {
       #        try_files $uri $uri/ =404;
       #        auth_basic "Restricted";
       #        auth_basic_user_file /var/www/.htpasswd;
               client_max_body_size 512K;
       include             /etc/nginx/default.d/php.conf;

5. Save the file with a Ctrl-o (Hold "Ctrl" on the keyboard and press "o"

6. Exit the editor with a Ctrl-x (Hold "Ctrl" on the keyboard and press "x"

7. Restart the web server

 [email protected](rw):~$ sudo systemctl restart nginx.service

--MW0MWZ (talk) 10:17, 25 March 2017 (GMT)