LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: lile

普通用户打开xterm的奇怪问题(Warning: could not change ownership of tty -- pty i

[复制链接]
发表于 2004-3-24 12:18:57 | 显示全部楼层
I didn't use this.
I also didn't use pts
All is normal here.
Maybe it's not the problem that actually occurs.
 楼主| 发表于 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.
发表于 2004-3-24 18:38:32 | 显示全部楼层
呵呵,我去试看看.
发表于 2004-3-24 18:42:45 | 显示全部楼层
已经加上了s位,还是不行啦.
s位要加在哪里呢?
我是像
弄好了

不是 chmod 4755 /usr/X11R6/bin/xterm
是 chmod 4755 /usr/X11R6/bin/luit

所说的一样,做了
chmod 4755 /usr/X11R6/bin/luit

,但是还是不行.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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