📄 00000014.htm
字号:
<HTML><HEAD> <TITLE>BBS水木清华站∶精华区</TITLE></HEAD><BODY><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER>发信人: period (瞌睡虫-2K虫行天下), 信区: Linux <BR>标 题: Re: 问题,XWINDOW下屏保无效,LOCK SCREEN也不行。 <BR>发信站: BBS 水木清华站 (Tue Apr 18 17:06:47 2000) <BR> <BR>【 在 mutex (重组酵母) 的大作中提到: 】 <BR>∶<I> 【 在 linuxrat (竹剑居士*崇文尚武*禅拳合一) 的大作中提到: 】 </I><BR>∶<I> 我也有同样问题,只是root用户屏保无效,LOCK SCREEN也不行; </I><BR>∶<I> 而新创建的一般用户则屏保可以,LOCK SCREEN也行 </I><BR> <BR>去看看man page. 没事用什么root来锁屏? <BR> <BR> Locking and root logins <BR> In order for it to be safe for xscreensaver to be <BR> launched by xdm, certain precautions had to be <BR> taken, among them that xscreensaver never runs as <BR> root. In particular, if it is launched as root <BR> (as xdm is likely to do), xscreensaver will dis- <BR> avow its privileges, and switch itself to a safe <BR> user id (such as nobody.) <BR> <BR> An implication of this is that if you log in as <BR> root on the console, xscreensaver will refuse to <BR> lock the screen (because it can't tell the differ- <BR> ence between root being logged in on the console, <BR> and a normal user being logged in on the console <BR> but xscreensaver having been launched by the <BR> xdm(1) Xsetup file.) <BR> <BR> The solution to this is simple: you shouldn't be <BR> logging in on the console as root in the first <BR> place! (What, are you crazy or something?) <BR> Proper Unix hygiene dictates that you should log <BR> in as yourself, and su(1) to root as necessary. <BR> People who spend their day logged in as root are <BR> just begging for disaster. <BR> <BR>-- <BR>※ 来源:·BBS 水木清华站 smth.org·[FROM: 166.111.60.178] <BR><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -