by D4RkNiK0l4s
1. wget https://www.dropbox.com/s/8mjqwvqtban68su/add-apt-repository.sh.txt
2 . copy and rename the file
$ mv /root/add-apt-repository.sh.txt /root/add-apt-repository
$ cp /root/add-apt-repository /usr/sbin/add-apt-repository
3. Change permissions to execute
$ chmod o+x /usr/sbin/add-apt-repository
4. Change ownership to root
$chown root:root /usr/sbin/add-apt-repository
5. Now when ever you need to execute command type
$ sudo add-apt-repository ppa: ppa - name
Disclaimer:adding ppa can have adverse effects on debian machines
so , be careful..
Source : http://www.blackhat-sec.com/2014/10/enable-ppa-ubuntu-repositories-in-kali.html
No comments:
Post a Comment