Disabling dashboard access for newly created user

I followed the thread here to give private access to my files. Unfortunately the newly created user has access to the dashboard. Is there anyway to disable that?

If you really want to block their dashboard you can create a new config file for apache to read. Name it something like denyall.conf or idontwannashowyouthenormaldashboardbecauseidontwantyoutoknowthisisquickbox.conf :stuck_out_tongue:

Then insert inside the following query:

<Directory "/srv/rutorrent/home">
  Options Indexes FollowSymLinks MultiViews
  AuthType Digest
  AuthName "rutorrent"
  AuthUserFile '/etc/htpasswd'
  Require user {$USERNAME}
  AllowOverride None
  Order allow,deny
  allow from all

Please note the Require user {$USERNAME} bit. Change this to your master username (sudo created upon install) and restart apache afterwards. This will deny all users access to the dashboard accept your main account holder.

1 Like

If i’m understanding this right… if I made a user such as Butts… I’d change Require user {$USERNAME} to Require user Butts? Also… where would I put the conf? /etc/apache2?

These things are created automagically on a per user basis in the /etc/apache2/sites-enabled/ directory. Each user gets contained within their own shell as well as their own “user (not master)” dashboard.