Re: CentOS 8: what changed (regular UNIX admin commands)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 22 Oct 2019 at 12:55, Valeri Galtsev <galtsev@xxxxxxxxxxxxxxxxx> wrote:
>
> Hello Experts!
>
> I'm sure many of you run CentOS for some time already.
>
> My question is: is there some place that lists which of the most often
> used sysadmin commands are gone and what are replacements for them. Or
> what else one needs to do after successful installation. (in the past it
> was process accounting that was not enabled by default, but which gives
> you quite some handle in investigating compromise).
>
> I just tried quite ordinaly command of freshly installed CentOS 8:
>
> last
>
> and got an error:
>
> last: (default utx db): No such file or directory
>

Huh. When I run it I got

[root@localhost ~]# last
root     pts/0        192.168.1.15     Sat Oct 19 15:42   still logged in
reboot   system boot  4.18.0-80.11.2.e Fri Oct 18 09:39   still running
root     pts/1        192.168.1.15     Thu Oct 17 14:16 - 09:38  (19:22)
smooge   pts/1        192.168.1.15     Fri Oct  4 18:14 - 13:24 (12+19:10)
smooge   pts/1        192.168.1.15     Fri Oct  4 09:02 - 09:09  (00:06)
smooge   pts/1        192.168.1.15     Thu Oct  3 16:31 - 16:46  (00:14)
smooge   pts/2        192.168.1.15     Mon Sep 23 17:23 - 09:05  (15:41)
smooge   pts/1        192.168.1.15     Sat Sep 21 14:45 - 10:36 (5+19:51)
smooge   pts/1        192.168.1.15     Thu Sep 19 17:04 - 17:05  (00:01)
smooge   pts/1        192.168.1.15     Mon Sep 16 13:06 - 17:02  (03:55)
smooge   tty2         tty2             Thu Sep 12 12:43 - down  (35+20:55)
reboot   system boot  4.18.0-80.el8.x8 Thu Sep 12 12:33 - 09:38 (35+21:05)

In el7 it used to be in this package:
[smooge@batcave01 ansible (master)]$ rpm -qf /usr/bin/last
sysvinit-tools-2.88-14.dsf.el7.x86_64

And in el8 it is in
[root@localhost ~]# rpm -qf /usr/bin/last
util-linux-2.32.1-8.el8.x86_64

The wtmp file is owned by
[root@localhost ~]# rpm -qf /var/log/wtmp
systemd-239-13.el8_0.5.x86_64

However as you can tell from above this system has been installed for
a bit so I am guessing whatever creates wtmp hasn't happened?

> I realize that it could be just me, and I'll cope with that myself one
> way or another but this one prompted me to ask everybody: Is there
> anything I can read so I can learn what differenmt to expect on CentOS 8
> from, say, CentOS 7?
>
> Thanks.
> Valeri
>
> ++++++++++++++++++++++++++++++++++++++++
> Valeri Galtsev
> Sr System Administrator
> Department of Astronomy and Astrophysics
> Kavli Institute for Cosmological Physics
> University of Chicago
> Phone: 773-702-4247
> ++++++++++++++++++++++++++++++++++++++++
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos



-- 
Stephen J Smoogen.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux