PDA

View Full Version : source list permission denied



boss06
2020-03-01, 19:56
as this is i am not able to change or add lines which are there in kali to add sources package as whenever i add them it always says that permission denied i tried getting permission using chmod but it said that operation not permitted please help me out off this and i am using the latest version of kali linux

boss06
2020-03-05, 18:44
guys no need to answer this question of mine as i got the answer of my own

Eang Meng Hor
2020-03-28, 14:48
How did u do it? I?m having the same problem

Hash30
2020-04-18, 15:30
How did u do it? I?m having the same problem

open terminal
Then follow these commands:
1. sudo nano /etc/apt/sources.list(it'll ask for password i.e., you use to login into your machine, enter that password).
2. enter the text you want to, then hit 'CTRL+O' and hit enter simultaneously.
3. hit 'CTRL+X' after that.
4. Done.
5. run 'apt update' and see the magic ;)

One more advice:
add s in the first http variable like deb https://http.kali.org................... to get more downloading speed in terminal. Thanks me later!

Schevic
2020-07-02, 10:02
I dont know, maybe I entered wrong code but I always get this permission denied. like the error below, I wanted to hash a pdf file

@kali:~/Desktop/JohnTheRipper$ cd /run
@kali:/run$ ./pdf2john.pl pdfpasswd>pdfpasswd.hash
bash: pdfpasswd.hash: Permission denied
schevic@kali:/run$