System Administration: October 2007 Archives
framebuffer和X都需要对分辨率进行设置,而gtf就是为此而生的工具。
e.g.
gtf 1024768 60 -x
可以得到1024×768@60Hz的Modeline设置。
"Raising Elephants Is So Utterly Boring" means:
- Alt + SysRq + R – takes the keyboard out of raw mode.
- Alt + SysRq + E – terminates all processes (except init).
- Alt + SysRq + I – kills all processes (except init).
- Alt + SysRq + S – synchronizes the disk.
- Alt + SysRq + U – remounts all filesystems read-only.
- Alt + SysRq + B – reboots the machine.
An alternative to issuing the REISUB/RSEIUB keystrokes is to just press Alt + SysRq + R, followed by Ctrl + Alt + Del. This is the equivalent of issuing a shutdown now command at a root console; it does take a short while for the system to shut down after the Ctrl + Alt + Del keystroke. However, not all Linux systems support this easier method.
参考文献: http://www.pixelbeat.org/docs/screen/
启动一个命名screen
screen -S shared
开启多用户模式
C-A: multiuser on
加入用户
C-A: addacl ywayne,yuting,leiyh
设置用户只读权限
C-A: aclchg ywayne,yuting,leiyh -wx "#,?"
C-A: aclchg ywayne,yuting,leiyh +x "colon,detach,wall"
这里允许执行的三个命令里colon是指C-A之后输入的那个冒号(真不理解冒号也是命令!?)。detach是允许客户不想看的时候可以用C-A D离开screen(强奸客户们的意图是不好滴)。wall是让客户可以使用wall命令向所有发言,方便演示过程中提问。
客户登录
screen -x jianingy/shared
Recent Comments
FW on 【转】rxvt-unicode (urxvt) 字间距过宽的patch: pls contac
jianingy on 用正则表达式Look-Ahead做带逃逸的变量替换: 这个lc是啥意思?
cnhackTNT on 用正则表达式Look-Ahead做带逃逸的变量替换: 晕,被过滤掉了,再试
cnhackTNT on 用正则表达式Look-Ahead做带逃逸的变量替换: s/(? 这样可以
R.Q. on 个性化SSH登录: 酱紫哦,了了 ---