embedclub is not in the sudoers file....
来源:互联网 发布:软件网络禁用 编辑:程序博客网 时间:2024/04/29 16:31
1.
使用 # su - root +密码 切换到root 账户
visudo 进入 sudoers.tmp unchanged ,在 root ALL=(ALL) 下添加 embedclub ALL=(ALL)
使用#su - embedclub 切换回账号。
2.命令su 和 su- 的区别
最大的本质区别就是:前者只是切换了root 身份,shell仍然是普通用户的shell。而后者将用户和shell环境一起换成了root身份。只有换了Shell环境才不会造成PATH环境变量错误。
su 切换到root下,可以pwd一下。
su-切换到root下,pwd。
两者可以分别echo $PATH看一下环境变量的不同。
阅读全文
0 0
- embedclub is not in the sudoers file....
- is not in the sudoers file
- xxx is not in the sudoers file
- Fedora is not in the sudoers file
- user is not in the sudoers file
- xxx is not in the sudoers file
- xx is not in the sudoers file
- xxx is not in the sudoers file.
- xx is not in the sudoers file
- is not in the sudoers file
- *** is not in the sudoers file 问题解决
- *** is not in the sudoers file 问题解决
- is not in the sudoers file解决方法
- is not in the sudoers file 解决
- xxx is not in the sudoers file
- xx is not in the sudoers file
- is not in the sudoers file
- is not in the sudoers file解决方法
- live555移植笔记一 ubuntu下live555+SMplayer在本机搭建rtsp服务器并验证
- 程序猿如何追女生!!!
- http切换https后redirect跳转过滤
- Registration system
- LeetCode 225 Implement Stack using Queues(利用队列实现栈)
- embedclub is not in the sudoers file....
- Codevs 1200 同余方程
- Java的多线程
- unity www使用汇总
- 把一张表中某个的数据导入到另外一个表中的某个字段
- Android 四大组件(三)ContentProvider
- css布局:水平和垂直方向都居中,以及用flex实现
- 条件注释判断浏览器版本<!--[if lt IE 9]>
- Session 'app': Error Installing APKs