mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-23 16:06:51 +00:00
nextcloud: print warning if logging into root container
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
892f2d875a
commit
9f18597cc8
2 changed files with 6 additions and 0 deletions
4
Containers/nextcloud/root.motd
Normal file
4
Containers/nextcloud/root.motd
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue