THT DUYURU

 
 
Computer Security You can find Computer Security Systems articles, information about how everything from antivirus to firewalls works here.

Seçenekler

Solution For Root Privilege Errors in Kali Linux

Dolyetyus - ait Kullanıcı Resmi (Avatar)
International Team Leader
Üyelik tarihi:
04/2020
Nereden:
Sittard
Mesajlar:
780
Konular:
258
Teşekkür (Etti):
191
Teşekkür (Aldı):
1163
Ticaret:
(0) %
2
405
01-01-2021 20:57
#1
I wanted to write a mistake which I encountered into a topic. First, how do we become root and then I will find solutions to some errors after being root.

How Do We Become Root?

After opening Kali, open the terminal and write

Kod:
sudo root passwd


First, enter your password, then the password you want to give to the root account and log off from Kali. After entering the user name, enter the password you set in the root password. If you come to the terminal when you open it, you are now root. You are also root in directories. But there is a problem, terminal is uncolored?[/COLOR]

Coloring Terminal

First, enter Home, then go to /home/ from the directory above and enter the output file. Press the option to show hidden files from view. Then open the .bashrc file and copy all the codes in it. Come to the root directory and open the .bashrc file there and do not delete those codes, go to the bottom line and paste the codes you copied..

Some Codes Not Working?

Some code may not work after giving root privilege, such as apt-get update. The solution is simple.


Kod:
mousepad /etc/apt/sources.list


Enter E directory, delete the contents and paste these codes.


Kod:
deb http://http.kali.org/kali kali-rolling main contrib non-free

deb-src http://http.kali.org/kali kali-rolling main contrib non-free

deb http://old.kali.org/kali sana main non-free contrib

deb-src http://old.kali.org/kali sana main non-free contrib

deb http://old.kali.org/kali moto main non-free contrib

deb-src http://old.kali.org/kali moto main non-free contrib



Fix Missing And Broken Errors


The solution is simple too. For example, did you get a fix missing error?


Kod:
apt install --fix-missing

Or
Kod:
apt install --fix-broken


If you do apt-get update afterwards, the problem would be solved. Make sure you do apt-get update because we have made some adjustments. Thanks for reading.


Translated from: https://www.turkhackteam.org/linux/1...ina-cozum.html
Original Author: @baysiberbela


---------------------
ѕeleɴια, Midarisha, Neander, - Teşekkür etti.
ѕeleɴια - ait Kullanıcı Resmi (Avatar)
Uzman Üye
Üyelik tarihi:
05/2018
Mesajlar:
1.734
Konular:
193
Teşekkür (Etti):
393
Teşekkür (Aldı):
1638
Ticaret:
(0) %
01-01-2021 21:43
#2
Thank you for translating, teacher. If there are people in this situation, I hope I helped. You're in
- Teşekkür etti.
Neander - ait Kullanıcı Resmi (Avatar)
Yeni Üye
Üyelik tarihi:
09/2020
Nereden:
Ankara
Mesajlar:
25
Konular:
0
Teşekkür (Etti):
110
Teşekkür (Aldı):
30
Ticaret:
(0) %
01-01-2021 22:40
#3
Nice translation thanks
- Teşekkür etti.

Bookmarks


« Önceki Konu | Sonraki Konu »
Seçenekler