Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Chiru 2

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 9

login as: root

Keyboard-interactive authentication prompts from server:


| Password:
End of keyboard-interactive prompts from server
Last login: Thu Jun 30 02:34:37 2022 from 192.168.232.1
localhost:~ # groupadd -g 3701 sapsys
localhost:~ # cat /etc/group
root:x:0:
shadow:x:15:vnc
trusted:x:42:
users:x:100:
tss:x:98:
messagebus:x:499:
nogroup:x:65533:
nobody:x:65534:
man:x:62:
mail:!:498:postfix
daemon:x:2:
wheel:x:497:
kvm:x:36:qemu
kmem:x:496:
lock:x:495:
tty:x:5:
utmp:x:494:
audio:x:493:pulse
cdrom:x:492:
dialout:x:491:
disk:x:490:
input:x:489:
lp:x:488:
render:x:487:
tape:x:486:
video:x:485:gdm
audit:x:484:
tftp:x:483:tftp,dnsmasq
maildrop:x:59:postfix
postfix:x:51:
bin:x:1:daemon
sshd:!:482:
srvGeoClue:!:481:
flatpak:!:480:
libvirt:x:108:
qemu:x:107:
polkitd:x:479:
brlapi:x:478:
rtkit:x:477:
systemd-journal:x:476:
systemd-network:x:475:
systemd-resolve:x:474:
systemd-timesync:x:473:
systemd-coredump:x:472:
nscd:x:471:
scard:x:470:
ntadmin:x:71:
chrony:x:469:
pulse:x:468:
pulse-access:x:467:
colord:x:466:
nm-openvpn:x:465:
nm-openconnect:x:464:
vnc:x:463:
gdm:x:462:
sapsys:x:3701:
localhost:~ # groupadd -g 4701 dba
localhost:~ # cat /etc/group
root:x:0:
shadow:x:15:vnc
trusted:x:42:
users:x:100:
tss:x:98:
messagebus:x:499:
nogroup:x:65533:
nobody:x:65534:
man:x:62:
mail:!:498:postfix
daemon:x:2:
wheel:x:497:
kvm:x:36:qemu
kmem:x:496:
lock:x:495:
tty:x:5:
utmp:x:494:
audio:x:493:pulse
cdrom:x:492:
dialout:x:491:
disk:x:490:
input:x:489:
lp:x:488:
render:x:487:
tape:x:486:
video:x:485:gdm
audit:x:484:
tftp:x:483:tftp,dnsmasq
maildrop:x:59:postfix
postfix:x:51:
bin:x:1:daemon
sshd:!:482:
srvGeoClue:!:481:
flatpak:!:480:
libvirt:x:108:
qemu:x:107:
polkitd:x:479:
brlapi:x:478:
rtkit:x:477:
systemd-journal:x:476:
systemd-network:x:475:
systemd-resolve:x:474:
systemd-timesync:x:473:
systemd-coredump:x:472:
nscd:x:471:
scard:x:470:
ntadmin:x:71:
chrony:x:469:
pulse:x:468:
pulse-access:x:467:
colord:x:466:
nm-openvpn:x:465:
nm-openconnect:x:464:
vnc:x:463:
gdm:x:462:
sapsys:x:3701:
dba:x:4701:
localhost:~ # groupadd -g 4702 oinstall
localhost:~ # cat /etc/group
root:x:0:
shadow:x:15:vnc
trusted:x:42:
users:x:100:
tss:x:98:
messagebus:x:499:
nogroup:x:65533:
nobody:x:65534:
man:x:62:
mail:!:498:postfix
daemon:x:2:
wheel:x:497:
kvm:x:36:qemu
kmem:x:496:
lock:x:495:
tty:x:5:
utmp:x:494:
audio:x:493:pulse
cdrom:x:492:
dialout:x:491:
disk:x:490:
input:x:489:
lp:x:488:
render:x:487:
tape:x:486:
video:x:485:gdm
audit:x:484:
tftp:x:483:tftp,dnsmasq
maildrop:x:59:postfix
postfix:x:51:
bin:x:1:daemon
sshd:!:482:
srvGeoClue:!:481:
flatpak:!:480:
libvirt:x:108:
qemu:x:107:
polkitd:x:479:
brlapi:x:478:
rtkit:x:477:
systemd-journal:x:476:
systemd-network:x:475:
systemd-resolve:x:474:
systemd-timesync:x:473:
systemd-coredump:x:472:
nscd:x:471:
scard:x:470:
ntadmin:x:71:
chrony:x:469:
pulse:x:468:
pulse-access:x:467:
colord:x:466:
nm-openvpn:x:465:
nm-openconnect:x:464:
vnc:x:463:
gdm:x:462:
sapsys:x:3701:
dba:x:4701:
oinstall:x:4702:
localhost:~ # cd home
-bash: cd: home: No such file or directory
localhost:~ # mkdir home
localhost:~ # cd home
localhost:~/home # mkdir sidadm sapadm daaadm oracel orasid
localhost:~/home # ll
total 0
drwxr-xr-x 2 root root 6 Jun 30 13:50 daaadm
drwxr-xr-x 2 root root 6 Jun 30 13:50 oracel
drwxr-xr-x 2 root root 6 Jun 30 13:50 orasid
drwxr-xr-x 2 root root 6 Jun 30 13:50 sapadm
drwxr-xr-x 2 root root 6 Jun 30 13:50 sidadm
localhost:~/home # cd ~
localhost:~ # pwd
/root
localhost:~ # cd ..
localhost:/ # cd ~
localhost:~ # cat /etc/group
root:x:0:
shadow:x:15:vnc
trusted:x:42:
users:x:100:
tss:x:98:
messagebus:x:499:
nogroup:x:65533:
nobody:x:65534:
man:x:62:
mail:!:498:postfix
daemon:x:2:
wheel:x:497:
kvm:x:36:qemu
kmem:x:496:
lock:x:495:
tty:x:5:
utmp:x:494:
audio:x:493:pulse
cdrom:x:492:
dialout:x:491:
disk:x:490:
input:x:489:
lp:x:488:
render:x:487:
tape:x:486:
video:x:485:gdm
audit:x:484:
tftp:x:483:tftp,dnsmasq
maildrop:x:59:postfix
postfix:x:51:
bin:x:1:daemon
sshd:!:482:
srvGeoClue:!:481:
flatpak:!:480:
libvirt:x:108:
qemu:x:107:
polkitd:x:479:
brlapi:x:478:
rtkit:x:477:
systemd-journal:x:476:
systemd-network:x:475:
systemd-resolve:x:474:
systemd-timesync:x:473:
systemd-coredump:x:472:
nscd:x:471:
scard:x:470:
ntadmin:x:71:
chrony:x:469:
pulse:x:468:
pulse-access:x:467:
colord:x:466:
nm-openvpn:x:465:
nm-openconnect:x:464:
vnc:x:463:
gdm:x:462:
sapsys:x:3701:
dba:x:4701:
oinstall:x:4702:
localhost:~ # useradd -u 3601 -g sapsys -G dba -e 20221030 -c "sap application
admin user" -d /home/sidadm -p Welcome123 sidadm
localhost:~ # cat /etc/passwd
bin:x:1:1:bin:/bin:/sbin/nologin
chrony:x:491:469:Chrony Daemon:/var/lib/chrony:/bin/false
colord:x:488:466:user for colord:/var/lib/colord:/sbin/nologin
daemon:x:2:2:Daemon:/sbin:/sbin/nologin
dnsmasq:x:496:65533:dnsmasq:/var/lib/empty:/bin/false
flatpak:x:492:480:Flatpak system helper:/home/flatpak:/sbin/nologin
gdm:x:484:462:Gnome Display Manager daemon:/var/lib/gdm:/bin/false
gnome-initial-setup:x:483:100::/run/gnome-initial-setup/:/sbin/nologin
lp:x:495:488:Printing daemon:/var/spool/lpd:/sbin/nologin
mail:x:498:498:Mailer daemon:/var/spool/clientmqueue:/sbin/nologin
man:x:13:62:Manual pages viewer:/var/lib/empty:/sbin/nologin
messagebus:x:499:499:User for D-Bus:/run/dbus:/usr/bin/false
nm-openconnect:x:486:464:NetworkManager user for OpenConnect:/var/lib/nm-
openconnect:/sbin/nologin
nm-openvpn:x:487:465:NetworkManager user for OpenVPN:/var/lib/openvpn:/sbin/nologin
nobody:x:65534:65534:nobody:/var/lib/nobody:/bin/bash
nscd:x:102:471:User for nscd:/run/nscd:/sbin/nologin
polkitd:x:106:479:User for polkitd:/var/lib/polkit:/sbin/nologin
postfix:x:51:51:Postfix Daemon:/var/spool/postfix:/sbin/nologin
pulse:x:490:468:PulseAudio daemon:/var/lib/pulseaudio:/sbin/nologin
qemu:x:107:107:qemu user:/home/qemu:/sbin/nologin
radvd:x:103:100:Router ADVertisement Daemon for:/var/lib/empty:/sbin/nologin
root:x:0:0:root:/root:/bin/bash
rpc:x:104:65534:user for rpcbind:/var/lib/empty:/sbin/nologin
rtkit:x:105:477:RealtimeKit:/proc:/bin/false
scard:x:100:470:Smart Card Reader:/var/run/pcscd:/usr/sbin/nologin
srvGeoClue:x:493:481:User for GeoClue D-Bus
service:/var/lib/srvGeoClue:/sbin/nologin
sshd:x:494:482:SSH daemon:/var/lib/sshd:/sbin/nologin
statd:x:101:65533:NFS statd daemon:/var/lib/nfs:/sbin/nologin
systemd-coredump:x:472:472:systemd Core Dumper:/:/usr/sbin/nologin
systemd-network:x:475:475:systemd Network Management:/:/usr/sbin/nologin
systemd-resolve:x:474:474:systemd Resolver:/:/usr/sbin/nologin
systemd-timesync:x:473:473:systemd Time Synchronization:/:/usr/sbin/nologin
tftp:x:497:483:TFTP account:/srv/tftpboot:/bin/false
tss:x:98:98:TSS daemon:/var/lib/tpm:/bin/false
usbmux:x:489:65533:usbmuxd daemon:/var/lib/usbmuxd:/sbin/nologin
vnc:x:485:463:user for VNC:/var/lib/empty:/sbin/nologin
jrktrainings:x:1000:100:jrktrainings:/home/jrktrainings:/bin/bash
sidadm:x:3601:3701:sap application admin user:/home/sidadm:/bin/bash
localhost:~ # 192.168.232.128
If '192.168.232.128' is not a typo you can use command-not-found to lookup the
package that contains it, like this:
cnf 192.168.232.128
localhost:~ # cat /etc/gshadow
cat: /etc/gshadow: No such file or directory
localhost:~ # cat --help
Usage: cat [OPTION]... [FILE]...
Concatenate FILE(s) to standard output.

With no FILE, or when FILE is -, read standard input.

-A, --show-all equivalent to -vET


-b, --number-nonblank number nonempty output lines, overrides -n
-e equivalent to -vE
-E, --show-ends display $ at end of each line
-n, --number number all output lines
-s, --squeeze-blank suppress repeated empty output lines
-t equivalent to -vT
-T, --show-tabs display TAB characters as ^I
-u (ignored)
-v, --show-nonprinting use ^ and M- notation, except for LFD and TAB
--help display this help and exit
--version output version information and exit

Examples:
cat f - g Output f's contents, then standard input, then g's contents.
cat Copy standard input to standard output.

GNU coreutils online help: <https://www.gnu.org/software/coreutils/>


Report any translation bugs to <https://translationproject.org/team/>
Full documentation <https://www.gnu.org/software/coreutils/cat>
or available locally via: info '(coreutils) cat invocation'
localhost:~ # cat /etc/shadow
bin:!:19164::::::
chrony:!:19164::::::
colord:!:19164::::::
daemon:!:19164::::::
dnsmasq:!:19164::::::
flatpak:!:19164::::::
gdm:!:19164::::::
gnome-initial-setup:!:19164::::::
lp:!:19164::::::
mail:!:19164::::::
man:!:19164::::::
messagebus:!:19164::::::
nm-openconnect:!:19164::::::
nm-openvpn:!:19164::::::
nobody:!:19164::::::
nscd:!:19164::::::
polkitd:!:19164::::::
postfix:!:19164::::::
pulse:!:19164::::::
qemu:!:19164::::::
radvd:!:19164::::::
root:$6$4d6H/bS/
1kP7KB30$Nl7pDdLtHQMYhpBWBybmQmoPfF4xLMgN0ST2vduFbTrHw.aErCv8EeYHXgj1rPZOi5Y9vT6nPW
OREF0q9mWf//:19164::::::
rpc:!:19164::::::
rtkit:!:19164::::::
scard:!:19164::::::
srvGeoClue:!:19164::::::
sshd:!:19164::::::
statd:!:19164::::::
systemd-coredump:!*:19164::::::
systemd-network:!*:19164::::::
systemd-resolve:!*:19164::::::
systemd-timesync:!*:19164::::::
tftp:!:19164::::::
tss:!:19164:0:99999:7:::
usbmux:!:19164::::::
vnc:!:19164::::::
jrktrainings:
$6$CGma8CO8x8UeY8Sy$L7Lj5O5y.iIz6culOEEMXRjgB5A4n0Lt4TZntb0bnyjNhPSBxvI5M0/3fTt.KOd
kIIiHlvm.yGvuIsWdBjTyh.:19164:0:99999:7:::
sidadm:Welcome123:19173:0:99999:7::20221030:
localhost:~ # cat /etc/group
root:x:0:
shadow:x:15:vnc
trusted:x:42:
users:x:100:
tss:x:98:
messagebus:x:499:
nogroup:x:65533:
nobody:x:65534:
man:x:62:
mail:!:498:postfix
daemon:x:2:
wheel:x:497:
kvm:x:36:qemu
kmem:x:496:
lock:x:495:
tty:x:5:
utmp:x:494:
audio:x:493:pulse
cdrom:x:492:
dialout:x:491:
disk:x:490:
input:x:489:
lp:x:488:
render:x:487:
tape:x:486:
video:x:485:gdm
audit:x:484:
tftp:x:483:tftp,dnsmasq
maildrop:x:59:postfix
postfix:x:51:
bin:x:1:daemon
sshd:!:482:
srvGeoClue:!:481:
flatpak:!:480:
libvirt:x:108:
qemu:x:107:
polkitd:x:479:
brlapi:x:478:
rtkit:x:477:
systemd-journal:x:476:
systemd-network:x:475:
systemd-resolve:x:474:
systemd-timesync:x:473:
systemd-coredump:x:472:
nscd:x:471:
scard:x:470:
ntadmin:x:71:
chrony:x:469:
pulse:x:468:
pulse-access:x:467:
colord:x:466:
nm-openvpn:x:465:
nm-openconnect:x:464:
vnc:x:463:
gdm:x:462:
sapsys:x:3701:
dba:x:4701:sidadm
oinstall:x:4702:
localhost:~ # useradd -u 3602 -g 3701 -G 4701 -c "sap host agent admin user" -d
/home/sapadm/ -p Welcome123 sapadm
localhost:~ # cat /etc/passwd
bin:x:1:1:bin:/bin:/sbin/nologin
chrony:x:491:469:Chrony Daemon:/var/lib/chrony:/bin/false
colord:x:488:466:user for colord:/var/lib/colord:/sbin/nologin
daemon:x:2:2:Daemon:/sbin:/sbin/nologin
dnsmasq:x:496:65533:dnsmasq:/var/lib/empty:/bin/false
flatpak:x:492:480:Flatpak system helper:/home/flatpak:/sbin/nologin
gdm:x:484:462:Gnome Display Manager daemon:/var/lib/gdm:/bin/false
gnome-initial-setup:x:483:100::/run/gnome-initial-setup/:/sbin/nologin
lp:x:495:488:Printing daemon:/var/spool/lpd:/sbin/nologin
mail:x:498:498:Mailer daemon:/var/spool/clientmqueue:/sbin/nologin
man:x:13:62:Manual pages viewer:/var/lib/empty:/sbin/nologin
messagebus:x:499:499:User for D-Bus:/run/dbus:/usr/bin/false
nm-openconnect:x:486:464:NetworkManager user for OpenConnect:/var/lib/nm-
openconnect:/sbin/nologin
nm-openvpn:x:487:465:NetworkManager user for OpenVPN:/var/lib/openvpn:/sbin/nologin
nobody:x:65534:65534:nobody:/var/lib/nobody:/bin/bash
nscd:x:102:471:User for nscd:/run/nscd:/sbin/nologin
polkitd:x:106:479:User for polkitd:/var/lib/polkit:/sbin/nologin
postfix:x:51:51:Postfix Daemon:/var/spool/postfix:/sbin/nologin
pulse:x:490:468:PulseAudio daemon:/var/lib/pulseaudio:/sbin/nologin
qemu:x:107:107:qemu user:/home/qemu:/sbin/nologin
radvd:x:103:100:Router ADVertisement Daemon for:/var/lib/empty:/sbin/nologin
root:x:0:0:root:/root:/bin/bash
rpc:x:104:65534:user for rpcbind:/var/lib/empty:/sbin/nologin
rtkit:x:105:477:RealtimeKit:/proc:/bin/false
scard:x:100:470:Smart Card Reader:/var/run/pcscd:/usr/sbin/nologin
srvGeoClue:x:493:481:User for GeoClue D-Bus
service:/var/lib/srvGeoClue:/sbin/nologin
sshd:x:494:482:SSH daemon:/var/lib/sshd:/sbin/nologin
statd:x:101:65533:NFS statd daemon:/var/lib/nfs:/sbin/nologin
systemd-coredump:x:472:472:systemd Core Dumper:/:/usr/sbin/nologin
systemd-network:x:475:475:systemd Network Management:/:/usr/sbin/nologin
systemd-resolve:x:474:474:systemd Resolver:/:/usr/sbin/nologin
systemd-timesync:x:473:473:systemd Time Synchronization:/:/usr/sbin/nologin
tftp:x:497:483:TFTP account:/srv/tftpboot:/bin/false
tss:x:98:98:TSS daemon:/var/lib/tpm:/bin/false
usbmux:x:489:65533:usbmuxd daemon:/var/lib/usbmuxd:/sbin/nologin
vnc:x:485:463:user for VNC:/var/lib/empty:/sbin/nologin
jrktrainings:x:1000:100:jrktrainings:/home/jrktrainings:/bin/bash
sidadm:x:3601:3701:sap application admin user:/home/sidadm:/bin/bash
sapadm:x:3602:3701:sap host agent admin user:/home/sapadm/:/bin/bash
localhost:~ # cat /etc/shadow
bin:!:19164::::::
chrony:!:19164::::::
colord:!:19164::::::
daemon:!:19164::::::
dnsmasq:!:19164::::::
flatpak:!:19164::::::
gdm:!:19164::::::
gnome-initial-setup:!:19164::::::
lp:!:19164::::::
mail:!:19164::::::
man:!:19164::::::
messagebus:!:19164::::::
nm-openconnect:!:19164::::::
nm-openvpn:!:19164::::::
nobody:!:19164::::::
nscd:!:19164::::::
polkitd:!:19164::::::
postfix:!:19164::::::
pulse:!:19164::::::
qemu:!:19164::::::
radvd:!:19164::::::
root:$6$4d6H/bS/
1kP7KB30$Nl7pDdLtHQMYhpBWBybmQmoPfF4xLMgN0ST2vduFbTrHw.aErCv8EeYHXgj1rPZOi5Y9vT6nPW
OREF0q9mWf//:19164::::::
rpc:!:19164::::::
rtkit:!:19164::::::
scard:!:19164::::::
srvGeoClue:!:19164::::::
sshd:!:19164::::::
statd:!:19164::::::
systemd-coredump:!*:19164::::::
systemd-network:!*:19164::::::
systemd-resolve:!*:19164::::::
systemd-timesync:!*:19164::::::
tftp:!:19164::::::
tss:!:19164:0:99999:7:::
usbmux:!:19164::::::
vnc:!:19164::::::
jrktrainings:
$6$CGma8CO8x8UeY8Sy$L7Lj5O5y.iIz6culOEEMXRjgB5A4n0Lt4TZntb0bnyjNhPSBxvI5M0/3fTt.KOd
kIIiHlvm.yGvuIsWdBjTyh.:19164:0:99999:7:::
sidadm:Welcome123:19173:0:99999:7::20221030:
sapadm:Welcome123:19173:0:99999:7:::
localhost:~ #

You might also like