LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 487|回复: 5

redhat-config-rootpassword

[复制链接]
发表于 2004-8-16 20:43:12 | 显示全部楼层 |阅读模式
这个命令是不是用来更改root用户的密码的,我在执行这个命令的时候系统提示:
File"/usr/share/redhat-config-rootpassword/read-config-rootpassword.py" line 5,in?
inport rootpassword
File"/usr/share/redhat-config-rootpassword/read-config-rootpassword.py" line 4,in?
import gtk
File"/usr/src/build/218821-i386/install/usr/lib/python2.2/sife-packages/gtk -2
RuntimeError:Could not open display
我想请问一下这是什么问题,有解决的方法吗,知道的,告诉我一声。谢谢
 楼主| 发表于 2004-8-16 20:50:48 | 显示全部楼层

redhat-config-packages

我在用redhat-config-packages命令的时候,出现问题,系统提示:

Unable to import gtk module,This may be due to running without
$ DISPLAY set Exception was:
could not open display
Tracebuck (mose recent call last):
File"/usr/share/redhat-config-packages/MainWindow.py" line 11,in?
sys.exit(0)
NameError:name'sys' is not defined
那位大哥帮个忙,看看这个问题怎么解决。谢谢
发表于 2004-8-16 20:57:18 | 显示全部楼层
redhat-config-rootpassword是用来更改root口令的图形工具;
是否在文本界面运行的?
 楼主| 发表于 2004-8-16 21:04:34 | 显示全部楼层
我就是不知道啊。所以想问问,一是看我的操作有什么问题,就是说有什么不懂的地方,二就是看看是不是真的系统有问题
 楼主| 发表于 2004-8-16 21:06:08 | 显示全部楼层
是不是图形工具都不能在test模式下使用,那redhat-config-network呢
发表于 2004-8-16 21:07:26 | 显示全部楼层
redhat-config-*是图形化的系统配置工具,
文本模式下不能用。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表