tty1 사용자는 항상 루트 로그인을 표시합니다.

tty1 사용자는 항상 루트 로그인을 표시합니다.

두 개의 Ubuntu 클라우드 서버가 있는데 다른 서버와 일치하지 않는 것이 있음을 발견했습니다. 누구든지 tty1이 무엇인지, 루트가 여전히 로그인되어 있다고 표시되는 이유를 찾는 데 도움을 줄 수 있습니까?

이 server1에는 tty1이 여전히 로그인되어 있지만 표시되지 않지만 다른 server2는 여전히 로그인되어 있는 것으로 표시됩니다.

tty1 로그인에는 IP 주소가 표시되지 않는 것을 볼 수 있습니다.

root@server1:/home/ubuntu# last -a | grep -i still
ubuntu   pts/2        Sun Dec 25 08:09   still logged in    MYIPADDRESS
reboot   system boot  Wed Nov  9 21:06   still running      5.15.0-52-generic


root@server2:/etc/apt# last -a | grep -i still
ubuntu    pts/0        Sun Dec 25 07:01   still logged in    MYIPADDRESS
root     tty1         Sat Dec 10 18:22   still logged in
reboot   system boot  Sat Dec 10 18:16   still running      5.4.0-135-generic
reboot   system boot  Sun Sep 18 08:06   still running      5.4.0-125-generic
reboot   system boot  Sun Sep 18 05:10   still running      5.4.0-125-generic
reboot   system boot  Sat Sep 17 02:49   still running      5.4.0-125-generic
reboot   system boot  Thu Dec 24 08:44   still running      5.4.0-58-generic
reboot   system boot  Thu Dec 10 21:36   still running      5.4.0-26-generic

관련 정보