在ubuntu9.04的图形界面下似乎权限不够,打不开“用户和组”,而命令行下似乎有root权限

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了在ubuntu9.04的图形界面下似乎权限不够,打不开“用户和组”,而命令行下似乎有root权限相关的知识,希望对你有一定的参考价值。

为了使用ubuntu9.04下“阿帖便签”的网络同步功能,在按照某位大虾的指点执行了这个命令
sudo usermod -G fuse shinegao(我的用户名)
结果再通过界面使用“用户和组”就提示权限不够了:系统管理员不允许我访问系统配置。

我反复尝试几个命令都不行:
sudo usermod -G root shinegao
sudo usermod -g 0 shinegao

但是在命令行下,我还是可以打开/sbin目录的
多谢关心!
查了log发现“用户和组”的程序名是“users-admin”,确实su之后就可以在命令行下执行“users-admin”,图形界面还是不行。

参考技术A 这个命令够呛的,楼主把我也害了!
不过我现在还可用root户 来打开 users-admin

su: Authentication failure
lsj@lsj-ubuntu:~$ su
Password: *******
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

root@lsj-ubuntu:/home/lsj# users-admin

** (users-admin:5740): CRITICAL **: Cannot create session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)

以上是关于在ubuntu9.04的图形界面下似乎权限不够,打不开“用户和组”,而命令行下似乎有root权限的主要内容,如果未能解决你的问题,请参考以下文章

ubuntu9.04下如何使用校园网?

CentOS7没有图形化界面,怎么安装图形化界面

ubuntu9.04安装ACPI

ubuntu9.04任务栏和工具栏消失

Python图形界面不够美?三行代码全面美化你的Tkinter界面

在windows下用qt写的程序的中文注释在Ubuntu下qt creator显示乱码