이러한 debconf 문제는 무엇을 의미합니까?

이러한 debconf 문제는 무엇을 의미합니까?

결과를 볼 수 있듯이 debconf-get-selections | grep phpmyadmin:

# MySQL application password for phpmyadmin:
phpmyadmin      phpmyadmin/mysql/app-pass       password
phpmyadmin      phpmyadmin/mysql/admin-pass     password
phpmyadmin      phpmyadmin/setup-password       password
phpmyadmin      phpmyadmin/app-password-confirm password
phpmyadmin      phpmyadmin/password-confirm     password
# Configure database for phpmyadmin with dbconfig-common?
phpmyadmin      phpmyadmin/dbconfig-install     boolean true
# MySQL username for phpmyadmin:
phpmyadmin      phpmyadmin/db/app-user  string  phpmyadmin
phpmyadmin      phpmyadmin/internal/reconfiguring       boolean false
phpmyadmin      phpmyadmin/reconfigure-webserver        multiselect
phpmyadmin      phpmyadmin/passwords-do-not-match       error
# Back up the database for phpmyadmin before upgrading?
phpmyadmin      phpmyadmin/upgrade-backup       boolean true
# Perform upgrade on database for phpmyadmin with dbconfig-common?
phpmyadmin      phpmyadmin/dbconfig-upgrade     boolean true
# Delete the database for phpmyadmin?
phpmyadmin      phpmyadmin/purge        boolean false
phpmyadmin      phpmyadmin/remote/port  string
# Reinstall database for phpmyadmin?
phpmyadmin      phpmyadmin/dbconfig-reinstall   boolean true
# MySQL database name for phpmyadmin:
phpmyadmin      phpmyadmin/db/dbname    string  phpmyadmin
phpmyadmin      phpmyadmin/install-error        select  abort
phpmyadmin      phpmyadmin/internal/skip-preseed        boolean false
# Connection method for MySQL database of phpmyadmin:
phpmyadmin      phpmyadmin/mysql/method select  Unix socket
phpmyadmin      phpmyadmin/mysql/admin-user     string  debian-sys-maint
# Host running the MySQL server for phpmyadmin:
phpmyadmin      phpmyadmin/remote/newhost       string
phpmyadmin      phpmyadmin/missing-db-package-error     select  abort
phpmyadmin      phpmyadmin/setup-username       string  admin
phpmyadmin      phpmyadmin/upgrade-error        select  abort
phpmyadmin      phpmyadmin/remove-error select  abort
# Host name of the MySQL database server for phpmyadmin:
phpmyadmin      phpmyadmin/remote/host  select  localhost
# Database type to be used by phpmyadmin:
phpmyadmin      phpmyadmin/database-type        select  mysql
# Deconfigure database for phpmyadmin with dbconfig-common?
phpmyadmin      phpmyadmin/dbconfig-remove      boolean true

그럼 이것들은 무엇입니까? :

phpmyadmin      phpmyadmin/mysql/admin-pass     password
phpmyadmin      phpmyadmin/setup-password       password

자동으로 생성되도록 하는 .../mysql/admin-pass것인가요 ? debian-sys-maintdbconfig-common은 이러한 비밀번호에 대해 어떤 질문도 하지 않습니다. 그렇죠? phpmyadmin의 소스를 검색해 보니 debconf 데이터베이스 템플릿을 사용하는 것 아닐까요? 그 후 debconf 소스에서 이 템플릿을 검색했는데 다음 줄이 있습니다 admin-pass(바로 여기야), 그러나 누군가가 그 의미를 정확히 알고 있다면 더 효과적일 수 있습니다.

감사합니다, V7

답변1

테스트한 결과 다음을 확인할 수 있습니다.

  • phpmyadmin/mysql/admin-passmysql 루트 계정 비밀번호인가요?
  • phpmyadmin/mysql/app-pass(및 )은 계정 비밀번호 phpmyadmin/app-password-confirm입니다.phpmyadmin@localhost

내 생각엔 (그러나 증거는 없다):

  • phpmyadmin/password-confirm동일합니까?phpmyadmin/app-password-confirm
  • phpmyadmin/setup-passworddebian-sys-maint계정 비밀번호 예요

관련 정보