Question

I have searched elsewhere and can-not find this information anywhere.

I have installed Django via a 'turnkeyLinux' installation for my VPS. This is after multiple failed attempts of setting this up manually. To my delightment, it appears to work. However, when trying to access the Django admin interface I am prompted for a username/password.

Thinking it may be my VPS ROOT details, I try those. No go.

I then find TurnKeyLinux's Django page here: http://www.turnkeylinux.org/django where it says the admin username is 'admin' and that the password is 'set at first boot'.

I have no idea what the admin password is, was hoping there was a default one. Is there a way I can find or rest this password via SSH?

Please save me from pulling out all my hair.

Was it helpful?

Solution

Typically, you'd either use the manage.py changepassword command or change it through the console. More info can be found in the docs.

If you can SSH in, execute either of those solutions in the project root and you should be set. The Turnkey docs suggest the /var/www/project is the example project root.

OTHER TIPS

uname: admin

pass: The password is setup at first boot. If you did not set one manually, you probably "entered" through it by mistake... try admin:""

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top