“unable to change to suders gid”问题的解决
来源:互联网 发布:node代理服务器 跨域 编辑:程序博客网 时间:2024/06/06 09:20
在应用上篇文章介绍的方法对ubuntu的硬盘空间进行扩展之后,重启系统,原来的账户无法正常登陆,只能通过来宾账户进入系统,而且进入系统后,执行sudo指令,出现如下错误:unable to change to suders gid
参考该文得以解决:http://blog.csdn.net/gudaoqianfu/article/details/7254700
现摘录如下:
1、重启ubuntu,随即长按shirft进入grub菜单;
2、选择recovery mode,按"e"键进入编辑页面;如下
非恢复模式为:
3、将ro single替换为rw single init=/bin/bash;
(上述的界面中将改为rw single init=/bin/bash)
4、按ctrl+x进入单用户模式,当前用户即为root;
5、到/etc目录下修改sudoers权限:chmod 0440 sudoers,搞定;也可以同时新增root密码,下次就不这么麻烦了;
6、按ctrl+alt+del重启;
5、到/etc目录下修改sudoers权限:chmod 0440 sudoers,搞定;也可以同时新增root密码,下次就不这么麻烦了;
6、按ctrl+alt+del重启;
- “unable to change to suders gid”问题的解决
- 解决unable unable to locate package问题
- Unable to connect to any hosts due to exception: java.net.ConnectException:...问题的解决
- python扩展问题”unable to find vcvarsall.bat“的解决
- Unable to acquire Oracle environment handle 问题的解决
- Python扩展问题”unable to find vcvarsall.bat“的解决
- Unable to resolve target 'android-10' 问题的解决
- 解决xhost:unable to open display""的问题
- 解决xhost:unable to open display""的问题
- 解决Unable to resolve target 'android-x'的问题
- android Unable to execute dex问题的解决
- Jmeter 解决unable to access ApacheJMeter.jar的问题
- ubuntu 解决unable to resolve host的问题
- Unable to find vcvarsall.bat问题的解决
- 解决xset: unable to open display ""问题
- 解决Ruby “Unable to require openssl"问题
- 解决unable to load native-library问题
- 解决Qt"Unable to set geometry"问题
- 毕业了,工作不到一个月就被迫离职了
- spring + hibernate 如何配置dblink的问题
- Wave File.
- WCF 的优势和特点
- 亲爱的,请你成熟了再来娶我
- “unable to change to suders gid”问题的解决
- visual studio command line
- ajax回调函数无法执行
- sql server中GO的作用
- 各种奇特的事情:内存错误,无常的段错误,堆栈消失
- 关闭Storyboard中打开的Popover
- android 反编译
- 详解用JavaScript实现"树形菜单"效果
- x264-snapshot-20091006-2245 vc2005编译成功