Reset Owncloud User password using cli

Browse to your owncloud installed path, in my case it was /var/www/html/owncloud and apply the following command-

sudo -u www-data php occ user:resetpassword -- <username>
Enter a new password:
Confirm the new password:

You’re done.

Share

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.