Здравствуйте. Команда last не показывает входы root из pts. Исправьте пожалуйста PS: Simply Linux 10.2 x86_64 p10
Доброго времени суток. Как одни из причин, last не показывает входы из pts, так как основана на файле /var/log/wtmp, который не содержит информации о входах из pts. Версия: SysVinit-usermode-1:1.5-alt2 (p10). last может не выводить все. Прошу приложить полный вывод команды last.
Пожалуйста $ last -n 100 evg tty2 :1 Fri Jul 19 15:52 still logged in evg tty2 :1 Fri Jul 19 15:19 - 15:47 (00:28) tamara tty1 :0 Fri Jul 19 11:32 still logged in reboot system boot 5.10.218-std-def Fri Jul 19 11:31 - 15:58 (04:26) tamara tty1 :0 Thu Jul 18 16:18 - 18:22 (02:03) evg tty1 :0 Thu Jul 18 15:29 - 16:05 (00:36) reboot system boot 5.10.218-std-def Thu Jul 18 15:28 - 18:22 (02:54) tamara tty1 :0 Thu Jul 18 10:58 - 12:48 (01:50) reboot system boot 5.10.218-std-def Thu Jul 18 10:55 - 12:48 (01:52) tamara tty1 :0 Wed Jul 17 16:58 - 17:32 (00:33) evg tty1 :0 Wed Jul 17 15:30 - 15:53 (00:22) reboot system boot 5.10.218-std-def Wed Jul 17 15:29 - 17:32 (02:02) tamara tty1 :0 Wed Jul 17 10:45 - 12:25 (01:40) reboot system boot 5.10.218-std-def Wed Jul 17 10:43 - 12:25 (01:42) evg tty1 :0 Tue Jul 16 16:54 - 17:17 (00:23) tamara tty1 :0 Tue Jul 16 13:34 - 15:42 (02:08) reboot system boot 5.10.218-std-def Tue Jul 16 13:31 - 17:17 (03:45) tamara tty1 :0 Mon Jul 15 10:38 - 16:06 (05:27) reboot system boot 5.10.218-std-def Mon Jul 15 10:34 - 16:06 (05:32) evg tty1 :0 Sun Jul 14 14:58 - 17:53 (02:54) reboot system boot 5.10.218-std-def Sun Jul 14 14:58 - 17:53 (02:55) evg tty1 :0 Sat Jul 13 15:41 - 17:30 (01:49) reboot system boot 5.10.218-std-def Sat Jul 13 15:40 - 17:30 (01:50) evg tty1 :0 Fri Jul 12 14:27 - 17:51 (03:24) tamara tty1 :0 Fri Jul 12 11:15 - 14:23 (03:08) reboot system boot 5.10.218-std-def Fri Jul 12 11:14 - 17:52 (06:37) evg tty2 :1 Thu Jul 11 14:52 - 15:14 (00:21) tamara tty1 :0 Thu Jul 11 09:53 - 18:46 (08:53) reboot system boot 5.10.218-std-def Thu Jul 11 09:52 - 18:46 (08:54) tamara tty1 :0 Wed Jul 10 16:08 - 17:45 (01:37) evg tty1 :0 Wed Jul 10 14:24 - 14:45 (00:21) reboot system boot 5.10.218-std-def Wed Jul 10 14:24 - 17:45 (03:21) evg tty2 :1 Tue Jul 9 17:47 - 18:19 (00:32) evg tty2 :1 Tue Jul 9 13:51 - 14:21 (00:30) tamara tty1 :0 Tue Jul 9 11:29 - 18:21 (06:51) reboot system boot 5.10.218-std-def Tue Jul 9 11:28 - 18:21 (06:52) tamara tty1 :0 Mon Jul 8 18:05 - 18:34 (00:28) evg tty1 :0 Mon Jul 8 15:25 - 17:57 (02:31) tamara tty1 :0 Mon Jul 8 14:25 - 15:12 (00:47) tamara tty1 :0 Mon Jul 8 10:42 - 13:00 (02:18) reboot system boot 5.10.218-std-def Mon Jul 8 10:40 - 18:34 (07:53) evg tty1 :0 Sun Jul 7 16:33 - 18:43 (02:09) evg tty1 :0 Sun Jul 7 15:44 - 16:19 (00:35) reboot system boot 5.10.218-std-def Sun Jul 7 15:36 - 18:43 (03:06) evg tty2 :1 Sat Jul 6 15:10 - 15:38 (00:27) tamara tty1 :0 Sat Jul 6 11:14 - 17:51 (06:36) reboot system boot 5.10.218-std-def Sat Jul 6 11:13 - 17:51 (06:37) tamara tty1 :0 Fri Jul 5 18:05 - 18:46 (00:40) evg tty1 :0 Fri Jul 5 15:15 - 15:47 (00:32) tamara tty1 :0 Fri Jul 5 14:27 - 15:06 (00:39) reboot system boot 5.10.218-std-def Fri Jul 5 14:26 - 18:46 (04:19) tamara tty1 :0 Fri Jul 5 10:47 - 14:25 (03:38) reboot system boot 5.10.218-std-def Fri Jul 5 10:45 - 14:25 (03:40) evg tty1 :0 Thu Jul 4 16:23 - 16:53 (00:30) reboot system boot 5.10.218-std-def Thu Jul 4 16:22 - 16:53 (00:31) tamara tty1 :0 Thu Jul 4 09:31 - 10:42 (01:10) reboot system boot 5.10.218-std-def Thu Jul 4 09:30 - 10:42 (01:12) evg tty1 :0 Wed Jul 3 14:34 - 15:12 (00:37) reboot system boot 5.10.218-std-def Wed Jul 3 14:33 - 15:12 (00:39) tamara tty1 :0 Wed Jul 3 10:14 - 11:13 (00:58) reboot system boot 5.10.218-std-def Wed Jul 3 10:11 - 11:13 (01:01) evg tty1 :0 Tue Jul 2 15:11 - 15:53 (00:41) reboot system boot 5.10.218-std-def Tue Jul 2 15:10 - 15:53 (00:43) tamara tty1 :0 Tue Jul 2 10:18 - 12:33 (02:15) reboot system boot 5.10.218-std-def Tue Jul 2 10:15 - 12:33 (02:18) evg tty1 :0 Mon Jul 1 14:22 - 18:49 (04:27) reboot system boot 5.10.218-std-def Mon Jul 1 13:39 - 18:49 (05:10) tamara tty1 :0 Mon Jul 1 10:12 - 10:41 (00:29) reboot system boot 5.10.218-std-def Mon Jul 1 10:11 - 10:41 (00:30) tamara tty1 :0 Sun Jun 30 12:27 - 14:59 (02:32) reboot system boot 5.10.218-std-def Sun Jun 30 12:25 - 14:59 (02:33) tamara tty1 :0 Sat Jun 29 12:06 - 13:16 (01:10) reboot system boot 5.10.218-std-def Sat Jun 29 12:03 - 13:16 (01:12) tamara tty1 :0 Fri Jun 28 10:41 - 18:30 (07:48) reboot system boot 5.10.218-std-def Fri Jun 28 10:38 - 18:30 (07:51) tamara tty1 :0 Thu Jun 27 12:26 - 16:12 (03:45) reboot system boot 5.10.218-std-def Thu Jun 27 12:25 - 16:12 (03:46) tamara tty1 :0 Wed Jun 26 11:17 - 12:11 (00:53) reboot system boot 5.10.218-std-def Wed Jun 26 11:16 - 12:11 (00:54) tamara tty1 :0 Tue Jun 25 10:46 - 11:57 (01:11) reboot system boot 5.10.218-std-def Tue Jun 25 10:45 - 11:57 (01:12) evg tty1 :0 Mon Jun 24 14:37 - 14:58 (00:21) tamara tty1 :0 Mon Jun 24 11:37 - 13:54 (02:16) reboot system boot 5.10.218-std-def Mon Jun 24 11:35 - 14:58 (03:22) evg tty2 :1 Fri Jun 21 15:31 - 18:30 (02:58) evg tty2 :1 Fri Jun 21 12:24 - 13:47 (01:23) tamara tty1 :0 Fri Jun 21 10:29 - crash (3+01:05) reboot system boot 5.10.218-std-def Fri Jun 21 10:28 - 14:58 (3+04:29) evg tty2 :1 Thu Jun 20 15:51 - 16:42 (00:50) evg tty2 :1 Thu Jun 20 13:02 - 13:07 (00:04) tamara tty1 :0 Thu Jun 20 09:40 - 16:42 (07:01) reboot system boot 5.10.218-std-def Thu Jun 20 09:39 - 16:42 (07:02) tamara tty1 :0 Wed Jun 19 16:00 - 17:11 (01:11) evg tty1 :0 Wed Jun 19 14:52 - 15:59 (01:07) reboot system boot 5.10.218-std-def Wed Jun 19 14:50 - 17:11 (02:20) evg tty1 :0 Wed Jun 19 14:40 - 14:50 (00:10) reboot system boot 5.10.218-std-def Wed Jun 19 14:39 - 14:50 (00:10) evg tty1 :0 Wed Jun 19 12:53 - 14:39 (01:45) tamara tty1 :0 Wed Jun 19 10:08 - 12:23 (02:15) reboot system boot 5.10.179-std-def Wed Jun 19 10:07 - 14:39 (04:32) wtmp begins Sat Jun 3 12:00:39 2023 В стартеркит, last выводит и root
Стенд P10: Simply Linux 10.2 x86_64 Ошибка не воспроизводится, показывает входы: root pts/0 Полный вывод: $ last -n 100 test pts/0 localhost Fri Jul 19 11:53 still logged in root pts/0 10.88.129.205 Fri Jul 19 11:53 - 11:53 (00:00) reboot system boot 5.10.220-std-def Fri Jul 19 11:53 - 11:53 (00:00) test tty1 :0 Thu Jul 18 12:21 - crash (23:31) root pts/0 10.88.16.15 Thu Jul 18 12:16 - crash (23:36) test pts/0 10.88.16.15 Thu Jul 18 12:16 - 12:16 (00:00) reboot system boot 5.10.220-std-def Thu Jul 18 12:15 - 11:53 (23:37) root pts/1 localhost Thu Jul 18 12:12 - 12:12 (00:00) test pts/0 10.88.16.15 Thu Jul 18 12:11 - 12:16 (00:04) test tty1 :0 Thu Jul 18 12:08 - 12:16 (00:08) root pts/0 10.88.16.15 Thu Jul 18 12:03 - 12:11 (00:07) reboot system boot 5.10.220-std-def Thu Jul 18 12:03 - 12:16 (00:12) root pts/0 10.88.16.15 Mon Jul 15 07:08 - down (00:00) reboot system boot 5.10.220-std-def Mon Jul 15 07:08 - 07:08 (00:00) reboot system boot 5.10.123-std-def Mon Jul 15 06:56 - 07:08 (00:11) wtmp begins Mon Nov 21 08:54:52 2022 ...................
На двух машинах стоит Simply Linux 10.2 p10, и на обоих last ведёт себя одинаково. Не показывает root на pts