|

楼主 |
发表于 2004-3-24 14:22:40
|
显示全部楼层
打不开xterm的原因?
我在用xterm时也出现过打不开,开机后只要不要以root身份登陆,
可以正常使用,只要以root进入一次,然后就不能用了,只有在普通用户快速点(xterm)图标,点上一会儿就会好了,只要不退出当前用户,就可以用
这应该是luit的权限问题,只要给luit加上suid位就可以了。
这是我在网上查的一个结果
On systems without SVR4 (``Unix-98'') ptys (notably BSD variants),
running luit as an ordinary user will leave the tty world-writable;
this is a security hole, and luit will generate a warning (but still
accept to run). A possible solution is to make luit suid root; luit
should drop privileges sufficiently early to make this safe. However,
the startup code has not been exhaustively audited, and the author
takes no responsibility for any resulting security issues. |
|