command-line-murders/i-026ef599ed0a75c33
by SadServersMore by SadServers
udp 0 0 0.0.0.0:68 0.0.0.0:* udp6 0 0 fe80::82e:bbff:fe7a:546 :::* udp6 0 0 ::1:323 :::* Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node Path unix 2 [ ACC ] STREAM LISTENING 9887 /run/systemd/journal/unix 2 [ ACC ] SEQPACKET LISTENING 9889 /run/udev/control unix 2 [ ACC ] STREAM LISTENING 1544 /run/systemd/journal/unix 2 [ ACC ] STREAM LISTENING 11517 /run/dbus/system_bus_unix 2 [ ACC ] STREAM LISTENING 10581 /run/uuidd/request unix 2 [ ACC ] STREAM LISTENING 9864 /run/systemd/private unix 2 [ ACC ] STREAM LISTENING 9866 /run/systemd/userdb/iunix 2 [ ACC ] STREAM LISTENING 9867 /run/systemd/io.systeunix 2 [ ACC ] STREAM LISTENING 9879 /run/systemd/fsck.proadmin@i-021dbcc2735000883:/etc$
taipei/i-021dbcc2735000883 07:09
by SadServers-rw------- 1 admin admin 978 Mar 4 03:42 .viminfo drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent drwxr-xr-x 3 root root 16384 Jan 1 1970 data -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-0a9241b92a4b01021:~$ cat /etc/fs cat: /etc/fs: No such file or directory admin@i-0a9241b92a4b01021:~$ cat /etc/fstab # /etc/fstab: static file system information UUID=811e12d8-f542-4650-9330-8d96633bd90c / ext4 rw,discard,errors=remount-ro,x-UUID=8690-F844 /boot/efi vfat defaultsrelatime,auto,uid=1000,gid=1000,umask=000 admin@i-0a9241b92a4b01021:~$ vim /etc/fstab admin@i-0a9241b92a4b01021:~$ sudo !! sudo vim /etc/fstab admin@i-0a9241b92a4b01021:~$ sudo systemctl r
kihei/i-0a9241b92a4b01021 12:34
by SadServersVolume group "vg" successfully created admin@i-0f9027f0b6fdf5892:~$ lvcreate -n lv -l 100%FREE vg WARNING: Running as a non-root user. Functionality may be unavailable. /dev/mapper/control: open failed: Permission denied Failure to communicate with kernel device-mapper driver. Incompatible libdevmapper 1.02.175 (2021-01-08) and kernel driver (unknown version). striped: Required device-mapper target(s) not detected in your kernel. Run `lvcreate --help' for more information. admin@i-0f9027f0b6fdf5892:~$ sudo lvcreate -n lv -l 100%FREE vg Logical volume "lv" created. admin@i-0f9027f0b6fdf5892:~$ mkfs.ext4 /dev/vg/lv mke2fs 1.46.2 (28-Feb-2021) Could not open /dev/vg/lv: Permission denied admin@i-0f9027f0b6fdf5892:~$ mkfs.ext4 /dev/vg/lv