Project

General

Profile

Actions

Users

To enable (or undisable) a user in Nextcloud via terminal, use occ command, this allows you to perform many administrative tasks, including enabling and disabling users.

Ensure you replace username with the actual username of the user you wish to enable.

sudo -u www-data php occ user:enable username

Updated by Gareth Eaton 9 months ago · 1 revisions