owncloud-archive / vm

Scripts to build an ownCloud community production VM - this was in use until 9.1.x releases. Since 10.0.1 we build appliances with Univention
https://www.univention.de/produkte/univention-app-center/app-katalog/owncloud/
23 stars 14 forks source link

Virtual Box & console password #39

Closed mariosm closed 8 years ago

mariosm commented 8 years ago

Hello,

I have changed the admin password from the web console but i cannot login on the linux shell console with that.

Thanks

JKawohl commented 8 years ago

@mariosm can you login with the regular password?

mariosm commented 8 years ago

When you say regular password what do you mean?

I can only login from web with the admin password.

On the linux shell it doesnt work, neither does the suggested password.

Is there a way of resetting the root password?

enoch85 commented 8 years ago

@mariosm Did you run this script? https://github.com/owncloud/vm/blob/master/vagrant/oc8ce/setup-when-admin.sh

JKawohl commented 8 years ago

@enoch85 how can he run the script when hes not logged in?.

enoch85 commented 8 years ago

@Kawohl You're right. @mariosm The Linux Shell password has nothing to do with the ownCloud password change. Also, the password shouldn't change if you haven run setup-when-admin.sh. Seems like something is broken in check-init.sh.

enoch85 commented 8 years ago

@mariosm @Kawohl This is not an error. Because if you change the owncloud password in the "web console" (meaning in ownCloud admin page) that doesn't mean that the UNIX password is changed. That's why @mariosm can't login with the same password as in the "web console" as in the UNIX shell.

If you want to change password in UNIX shell you have to login as admin with the defailt credentials presented to you, and the script will run.

Please reopen if you think otherwise.

enoch85 commented 8 years ago

@Kawohl Regarding the previous discussion in #40, I've now fixed the issue so that init-credentials is updated to show the new password when it's changed. This script is called instead of the old code.

enoch85 commented 8 years ago

Issue fixed!