摘要:
用sudo时提示"xxx is not in the sudoers file. This incident will be reported.其中XXX是你的用户名,也就是你的用户名没有权限使用sudo,我们只要修改一下/etc/sudoers文件就行了。操作的时候,没有sudo的权限如下所示:解决方法是:1)进入超级用户模式。也就是输入"su -",系统会让你输入超级用户密码,输入密码后就进入了超级用户模式。(当然,你也可以直接用root用)(注意有- ,这和su是不同的,在用命令”su”的时候只是切换到root,但没有把root的环境变量传过去,还是当前用户 阅读全文
posted @ 2013-04-04 23:49
moxuan424
阅读(321)
评论(0)
推荐(0)
摘要:
Linux中的各个目录/This is the root directory. The mothership. The home field. The one and only top directory for your whole computer. Everything, and I mean EVERYTHING starts here. When you type ‘/home’ what you’re really saying is “start at / and then go to the home directory.”这个是根目录。每个主机都只有一个根目录,是系统文件开始 阅读全文
posted @ 2013-04-04 23:12
moxuan424
阅读(292)
评论(0)
推荐(0)

浙公网安备 33010602011771号