Debian默认不允许root登录,所以修改之。(1)让Debian以root登录修改gdm3的登录pam文件#vi
/etc/pam.d/gdm3将auth required pam_succeed_if.so user != root quiet_success注释掉
//本行前加#重启即可(2...
分类:
其他好文 时间:
2014-05-23 12:00:51
阅读次数:
447
Given a binary tree, find its maximum depth.The
maximum depth is the number of nodes along the longest path from the root node
down to the farthest le...
分类:
其他好文 时间:
2014-05-23 11:54:10
阅读次数:
317
mini2440
内核启动后,可以用busybox制作一个简单的根文件系统并用nfs来启动该文件系统启动mini2440,
按任意键进入uboot,按q键进入uboot命令行:执行以下命令:set bootargs "noinitrd root=/dev/nfs rw
nfsroot=192.168...
分类:
其他好文 时间:
2014-05-23 11:52:08
阅读次数:
357
看了一句话,我们都是搬运工,github的搬运工,下面这代码搬运来自各个地方,最后成型。var
classCache = {}; function getElementsByClassName(cls, root, tag){ var elems,
classRE, rs = []; roo...
分类:
其他好文 时间:
2014-05-23 11:12:19
阅读次数:
367
最近翻出自己以前存的黑防的杂志,又兴致勃勃的看起来,索性把自己的学得记下来,今天的话题是Bootkit,首先介绍下所谓的Bootkit这个技术,其实就是Rootkit的增强版,所以还是先介绍Rootkit吧,Rootkit就是入侵者为了隐藏自己的踪迹和保存root权限的工具(也可以说是一种技术),同样这里Bootkit的目的也一样,这里就是不扩展讲rootkit的实现了,因为这里涉及windows...
分类:
其他好文 时间:
2014-05-22 12:27:45
阅读次数:
217
linux shell 命令
什么是Shell?
Shell 是连接操作系统内核 与 用户 的接口。
终端是shell的表现形式。
什么是Shell编程?
Shell 脚本语言加上linux 命令语句就构成了shell程序。优点在于批量处理、不用用户每次手动输入。
bash是shell程序解释器的一种。
常用命令
pwd:print working directory,打印工...
分类:
系统相关 时间:
2014-05-22 10:39:17
阅读次数:
442
题目:
链接:点击打开链接
算法:
赤裸裸的并查集。
代码:
#include
#include
#include
using namespace std;
int n,m;
int root[1010];
int find(int x)
{
int r = x;
while(root[r] != r)
r = root[r];
...
分类:
其他好文 时间:
2014-05-22 10:36:30
阅读次数:
219
[root@localhost ~]# date -R // 查看时区
Mon, 19 May 2014 10:18:46 +0000
[root@localhost ~]# tzselect // 设置修改时区
Please identify a location so that time zone rules can be set correctly.
Please select a continent or ocean....
分类:
其他好文 时间:
2014-05-20 15:49:50
阅读次数:
319
在Windows Active Directory网络中,使用组策略发布Office
2003时,是在组策略编辑器的“用户配置→策略→软件设置”中进行发布的,但Office 2007与Office
2010,改变了软件分发方式,只能通过将软件指派给“计算机对象”的方式进行分发,在本文中我们介绍使用组...
分类:
其他好文 时间:
2014-05-20 10:54:29
阅读次数:
381
由于业务需要,对EDM发出的邮件日志进行分析处理,我要做的是预处理,把posfix杂乱无章的日志中找到我需要的数据.我用javamail发的邮件,发送邮件时获取到是一个messageId,形如:2135546465.103503.1400232891548.JavaMail.root@hostnam...
分类:
其他好文 时间:
2014-05-20 09:19:16
阅读次数:
267