[go: up one dir, main page]

0% found this document useful (0 votes)
35 views4 pages

Linux VIM ETC

Uploaded by

moinchy786
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views4 pages

Linux VIM ETC

Uploaded by

moinchy786
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

login as: botaiw

botaiw@10.88.1.72's password:
Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-122-generic x86_64)

* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage

System information as of Mon Oct 7 14:10:19 +06 2024

System load: 0.0 Processes: 162


Usage of /: 3.2% of 199.90GB Users logged in: 1
Memory usage: 16% IPv4 address for eth0: 10.88.1.72
Swap usage: 0%

Expanded Security Maintenance for Applications is not enabled.

9 updates can be applied immediately.


To see these additional updates run: apt list --upgradable

Enable ESM Apps to receive additional future security updates.


See https://ubuntu.com/esm or run: sudo pro status

Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your


Internet connection or proxy settings

Last login: Mon Oct 7 14:06:09 2024 from 10.11.208.19


botaiw@botop:~$ sudo su
[sudo] password for botaiw:
Sorry, try again.
[sudo] password for botaiw:
root@botop:/home/botaiw# history
1 apt update -y
2 apt upgrade -y
3 init 6
4 apt install vim
5 apt install net-tools
6 getenforce
7 apt install selinux-utils
8 useradd saifur
9 passwd saifur
10 vim /etc/sudoers
11 useradd sharif
12 passwd sharif
13 init 0
14 vim /etc/hosts.allow
15 vim /etc/hosts.deny
16 vim /etc/login.defs
17 apt install ntp
18 apt install dpkg
19 date
20 vim /etc/ntp.conf
21 systemctl enable ntp
22 systemctl restart ntp
23 date
24 timedatectl set-timezone Asia/Dhaka
25 date
26 id saifur
27 vim /etc/sudoers
28 init 0
29 ls
30 cd /home/botaiw/
31 ls
32 dpkg -i td-infrasense-compact_2.88-1.20.04_amd64.deb
33 apt install dpkg
34 apt --fix-broken install
35 dpkg -i td-infrasense-compact_2.88-1.20.04_amd64.deb
36 apt install libssl1.1
37 apt --fix-broken install
38 dpkg -i td-infrasense-compact_2.88-1.20.04_amd64.deb
39 dpkg -l | grep td
40 dpkg -l | grep td-infrasense-compact_2.88-1.20.04_amd64.deb
41 cd /usr/local/thoughtdata/infrasense/etc/
42 ls
43 vim td_infrasense.conf.dpkg-new
44 cd ..
45 ls
46 cd bin/
47 ./start_is
48 ./stop_is
49 ls
50 cd ..
51 ls
52 cd etc/
53 ls
54 cp td_infrasense.conf.dpkg-new td_infrasense.conf.dpkg-new-17-09-2024
55 mv td_infrasense.conf.dpkg-new td_infrasense.conf
56 ls
57 cp ssh_cmds_custom.txt.dpkg-new ssh_cmds_custom.txt.dpkg-new-17-09-2024
58 ls
59 mv ssh_cmds_custom.txt.dpkg-new ssh_cmds_custom.txt
60 cp ssh_cmds.txt.dpkg-new ssh_cmds.txt.dpkg-new-17-09-2024
61 mv ssh_cmds.txt.dpkg-new ssh_cmds.txt
62 ls
63 cd ..
64 ls
65 cd bin/
66 ls
67 ./start_is
68 ls
69 tail -f infrasense_compact.log
70 ls
71 ps
72 cat infrasense_compact.service
73 cd
74 apt --fix-broken install
75 cd /usr/local/thoughtdata/infrasense/etc/
76 ls
77 dpkg -purg td-infrasense-compact_2.88-1.20.04_amd64.deb
78 dpkg -r td-infrasense-compact_2.88-1.20.04_amd64.deb
79 dpkg -r td-infrasense-compact
80 dpkg -purge td-infrasense-compact
81 dpkg --purge td-infrasense-compact
82 cd
83 dpkg --purge td-infrasense-compact
84 cd /usr/local/
85 ls
86 cd thoughtdata/
87 ls
88 cd ..
89 cd
90 ps -aef | grep td-
91 ps -aef | grep td-infrasense-compact
92 netstat -tunlp | grep LISTEN
93 dpkg -r td-infrasense-compact
94 dpkg -purg td-infrasense-compact_2.88-1.20.04_amd64.deb
95 apt install dpkg -y
96 dpkg -r td-infrasense-compact_2.88-1.20.04_amd64
97 dpkg -r td-infrasense
98 cd /usr/local/
99 rm -rf *
100 ls
101 cd /home/botaiw/
102 ls
103 cd Agent\ M\ \&\ S/
104 ls
105 cd Macfee-Linux-Agent/
106 ls
107 cd Latest-Agent/
108 ls
109 chmod 777 install.sh
110 ./install.sh -i
111 apt install unzip
112 apt install unzip -y
113 ls
114 ./install.sh -i
115 cd ..
116 ls
117 cd ..
118 ls
119 cd ..
120 ls
121 dpkg -i td-infrasense-compact_2.88-1.20.04_amd64.deb
122 apt-get install libssl1.1
123 apt-get install libssl1
124 apt upgrade
125 apt --fix-broken install
126 cd /usr/local/
127 ls
128 cd ..
129 ls
130 cd
131 cd /usr/local/
132 ls
133 rm -rf thoughtdata/
134 ls
135 id saifur
136 id sharif
137 vim /etc/sudoers
138 date
139 vim /etc/hosts.allow
140 vim /etc/login.defs
141 vim /etc/sysctl.conf
142 sysctl -w net.ipv4.conf.all.accept_redirects=0
143 sysctl -w net.ipv4.conf.default.accept_redirects=0
144 sysctl -w net.ipv4.conf.all.secure_redirects=0
145 sysctl -w net.ipv4.conf.default.secure_redirects=0
146 vim /etc/ssh/sshd_config
147 systemctl restart sshd
148 grub-mkpasswd-pbkdf2
149 cd /etc/grub.d/
150 ls
151 cp 40_custom 40_custom-19-09-2024
152 vim 40_custom
153 grep CLASS /etc/grub.d/10_linux | head -n 1
154 ls
155 vim 40_custom
156 update-grub
157 init 6
158 vim /etc/ssh/sshd_config
159 vim /etc/sysctl.conf
160 history
root@botop:/home/botaiw#

You might also like