• dandelion@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    4 years ago

    Your post shows root user using sudo, which is not a problem but it is not needed for root to use sudo in this case (root can use sudo however for example to run a php command to work on a website e.g. with Nextcloud occ command like sudo -u www-data php /var/www/nextcloud/occ user:info myuser).