All HowTo's

Resetting a forgotten Owncloud password

To reset a forgotten owncloud password (Including the admin account) you can do the following.

As root on your server enter the following command replacing $USER with the username of the account

sudo -u www-data php /var/www/html/owncloud/occ user:resetpassword $USER

You will be prompted to enter a new password and then type it again to confirm, once done you should see

Successfully reset password for $USER

Leave a Reply

Your email address will not be published. Required fields are marked *