Feature #6318
BE: Create documentation snippet for resetting password
% Done:
0%
Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Description
Bash or python script to reset django entry for admin password
Related issues
History
#1 Updated by Ian Colle over 10 years ago
- translation missing: en.field_story_points set to 1.00
#2 Updated by Dan Mick over 10 years ago
- Subject changed from Create script for resetting password to BE: Create script for resetting password
- Description updated (diff)
- Assignee set to Noah Watkins
#3 Updated by Dan Mick over 10 years ago
- Target version changed from v1.0beta to v1.0rc-1
#4 Updated by Noah Watkins over 10 years ago
- Status changed from 12 to Need More Info
I thought this would be more involved, but Django already has a feature for this. The following command (run from the virtual environment) will prompt the user to change the password:
python manage.py changepassword <user>
where `<user>` is the username (e.g. `admin`).
I would propose that we add a wrapper script around this command that we can install somewhere in the default path, like /usr/bin. This mainly simplifies documentation. Alternatively, we could just document how to run the command.
#5 Updated by Neil Levine over 10 years ago
Just documenting the command is good enough for now. Good find!
#6 Updated by Dan Mick over 10 years ago
This will actually be /opt/calamari/venv/python...
#7 Updated by Noah Watkins over 10 years ago
- Status changed from Need More Info to In Progress
#8 Updated by Noah Watkins over 10 years ago
- Target version changed from v1.0rc-1 to v1.0rc-2
#9 Updated by Dan Mick over 10 years ago
- Subject changed from BE: Create script for resetting password to BE: Create documentation snippet for resetting password
#10 Updated by Dan Mick over 10 years ago
- Status changed from In Progress to Resolved