OK,第一次写博客,可能经验不是很足,有不到位的地方还请各位见谅。
最近在自学kali,然后kali是一个更新较快的系统,虽然网上教程也很多,但有的可能过时了,所以我就把我这段时间的经验分享一下。
首先,大体的安装晚上资料很全,我主要来分享一下安装后的操作.
1.修改更新源,加快更新速度
命令如下:vi /etc/apt/sources.list
然后复制粘贴即可
#中科大
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
#阿里云
deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
#清华大学
deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
#浙大
deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
#东软大学
deb http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
#官方源
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
#163
deb http://mirrors.163.com/debian/ jessie main non-free contrib
deb http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib
#重庆大学
#deb http://http.kali.org/kali kali-rolling main non-free contrib
#deb-src http://http.kali.org/kali kali-rolling main non-free contrib
2.解决最新版kali不能root登录问题
首先sudo su root
然后输入自己当前用户密码
然后修改自己的root用户密码
passwd root
然后修改一些文件
cd /etc/pam.d
会有很多的文件,然后这个要取决与你安装时选择的默认界面,比如我选的是sddm,我就要修改下面两个文件
Vi sddm
vi sddm-password
道理类似,大家自己类推
把auth required pam_success_if .so user!=root quite_sucess注释掉,其他的也是同样的语句
reboot
然后重启就可以用 root登陆了,密码是刚才你修改的
好啦第一次分享就到这里,下一次分享再见