Found anomalies in the TiDB server login logs, is this normal?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 查看tidb服务器登录日志发现异常,请问是否正常?

| username: TiDBer_5GvAkLi0

【TiDB Usage Environment】Production
【TiDB Version】5.4.1
【Encountered Issue】
By using the command tail -f /var/log/secure to check the login user logs on the TiDB server, the following anomaly was found:

| username: 啦啦啦啦啦 | Original post link

You used tiup during this period, right? Normal logs.

| username: TiDBer_5GvAkLi0 | Original post link

Hello, I often execute the following commands on the control machine: tiup cluster display tidb-prod and tiup cluster check tidb-prod --cluster.

| username: 啦啦啦啦啦 | Original post link

Using the sudo command will record similar logs, and the tidb user needs sudo privileges to perform some operations.

| username: TiDBer_5GvAkLi0 | Original post link

Got it, understood! Thank you for the explanation, expert.

| username: cs58_dba | Original post link

In the 5.4.0 environment, I tried restarting with tiup, and it indeed logs messages.

| username: xiaohetao | Original post link

Normally, the TiDB cluster will check if the current user has sudo privileges when it restarts.

| username: wisdom | Original post link

This is quite normal, nothing special.