Access to occ without access to docker server?

The Basics

  • Nextcloud docker version 30.0.5
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

I would like hand Nextcloud Admin rights to a third person. Therefore he ask for access to OCC.

How could I give him access to the possibilities that came with occ without have to give him access to the docker host?
(and if possible avoid give him access to other commands than occ commands)

In earlier version there was an app called OCC Web but it seams deprecated.

if docker supports ssh use an ssh command-only key for that user.
(I do not user docker but with a real installation i’d use that method.)
Here’ an example fron one of my borg-servers in ~./.ssh/authorized_keys:

command=“borg serve --restrict-to-path /mnt/borg/OPAC/”,restrict ssh-rsa <ssh-key.pub>= root@opac.XXX.XXX

the <ssh-key.pub> is the public ssh-key of that user as text like the other ssh-keys in that file.

GOOD LUCK!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.