# 更新時、デフォルトのシステム管理ユーザー名が（名前変更時）「system」に戻る

**URL:** https://meta.discourse.org/t/when-updating-the-default-system-admin-users-username-is-reverted-to-system-if-renamed/353631
**Category:** Support
**Created:** [2025 年 2 月 21 日午後 4:16 UTC](https://meta.discourse.org/t/when-updating-the-default-system-admin-users-username-is-reverted-to-system-if-renamed/353631 "2025-02-21T16:16:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Firsh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firsh/32/454861_2.png) [@Firsh](https://meta.discourse.org/u/Firsh)
#### Post date: [2025 年 2 月 21 日午後 4:16 UTC](https://meta.discourse.org/t/when-updating-the-default-system-admin-users-username-is-reverted-to-system-if-renamed/353631/1 "2025-02-21T16:16:19Z")

</div>

ここに表示されました。

> [@Wordpress / discourse integration not connecting](https://meta.discourse.org/t/wordpress-discourse-integration-not-connecting/284744/11):
>
> Glad you got it sorted @Jacob_Peebles. As mentioned in the connection video and documentation, the simplest course of action is to just leave the username as the default system. If you choose to change this, you do need to use another username. I’ve added an extra line to the documentation about where to find a user’s username.

そのアカウントのユーザー名は実際に重要であり、カスタムの名前に手動で変更しました。しかし、フォーラムの更新によりデフォルトに戻ってしまいますが、これは予期された動作でしょうか？現在、表示名のみを変更することで対応しました。しかし、ユーザー名の変更は、WordPressの設定でDiscourseの更新によりユーザー名がリセットされることを認識していなかったため、[DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) SSOの発行（および接続）を中断しました。

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/1/1/a111285610daa1e63cc0a3a85b667e9d6341e3ae.png)

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [2025 年 2 月 21 日午後 4:24 UTC](https://meta.discourse.org/t/when-updating-the-default-system-admin-users-username-is-reverted-to-system-if-renamed/353631/2 "2025-02-21T16:24:38Z")

</div>

はい、これは想定内の動作です。Discourse では（現時点では）システムユーザーのユーザー名を永続的に変更することはできません。

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [2025 年 2 月 25 日午前 10:58 UTC](https://meta.discourse.org/t/when-updating-the-default-system-admin-users-username-is-reverted-to-system-if-renamed/353631/3 "2025-02-25T10:58:20Z")

</div>

メール受信者がランダムに動作しなくなったとき、私はとても困惑しました。  
エラーを最後の再構築にまでたどることができ、設定ファイルに設定したAPIユーザー名がフォーラムに存在しなくなっていることに気づきました。

実際にシステムアカウントのユーザー名を変更しましたが、再構築後に元に戻されました。

このようにして、このアカウントのユーザー名を実際には変更できないことを学びました。

インターフェースでまったく変更できないようにしたいです。

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2025 年 3 月 27 日午前 10:58 UTC](https://meta.discourse.org/t/when-updating-the-default-system-admin-users-username-is-reverted-to-system-if-renamed/353631/4 "2025-03-27T10:58:28Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
