all-in-one/Containers/nextcloud/root.motd
Simon L. 9f18597cc8 nextcloud: print warning if logging into root container
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-06-18 10:41:16 +02:00

4 lines
364 B
Text

Warning: You have logged in into the Nextcloud container as root user.
See https://github.com/nextcloud/all-in-one#how-to-run-occ-commands if you want to run occ commands.
Apart from that, you can use 'sudo -u www-data -E php occ <your-command>' in order to run occ commands.
Of course <your-command> needs to be substituted with the command that you want to use.