Project

Profile

Help

Story #275

[RFE] The default admin password should be specified with pulp-manage-db instead of server.conf

Added by rbarlow almost 7 years ago. Updated over 2 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

++ This bug was initially created as a clone of Bugzilla Bug #1171425 ++

Description of problem:

Description of problem:
The default password on every Pulp installation is "admin". This isn't terrible, but it also isn't ideal. We could instead change pulp-manage-db[0] to interactively prompt the user for an admin password when creating the user. This would have a security advantage of every user explicitly setting the initial password, which would help it to be unique across all installations. It is also a little strange to have a setting in server.conf that only matters on the initial install. We could also consider allowing them to choose the username for the admin account. Of course, we want to continue to be machine-friendly, so if we do this we would also need a way to pass the password non-interactively (perhaps by accepting a piped password through stdin).

This is a behavior change, so we'd need to do it with an X release if we choose to do it.

Version-Release number of selected component (if applicable):
2.4.3-1

How reproducible:
Every time.

Steps to Reproduce:
1. Can you set the default password in server.conf?
2. Can you set the default password using pulp-manage-db?

Actual results:
Yes and no.

Expected results:
No and yes.

Additional info:
[0] pulp-manage-db is currently the process that creates the admin user.

History

#1 Updated by bmbouter over 2 years ago

  • Status changed from NEW to CLOSED - WONTFIX

#2 Updated by bmbouter over 2 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

#3 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF