装上了 unbuntu

胡扯闲聊 No Comments »

感觉还不错。真正实现了完全用linux 工作。

其实除了娱乐比较费劲外,ubuntu 真的是挺不错的。还在徘徊的同学大可一试。

windows 变化实在是快,跟不上了。呵呵  :)

木乃伊3:龙的诅咒

胡扯闲聊 No Comments »

应该算是今年大片了。感觉不如以前的好看,不知道是不是审美疲劳了。场面是够大,却少了以前的惊险和刺激,说的是中国的故事也就失去了新鲜感,推荐指数 3 星  :)

不过有趣的是吴京在这片里跑了龙套,一下就被李连杰杀死了。错开了奥运,也是电影上市的一个策略吧。

solaris 10 ssh keyboard Interactive 错误

网络安全 No Comments »

看资料是因为solaris 10 默认限制了root ssh 远程登录

/etc/ssh/sshd_config的两个参数
PermitRootLogin yes

PasswordAuthentication yes

不过还有另外一种方法,一般在/etc/default/login文件中

有 “CONSOLE=/dev/console”

一行,则表明root不能直接登陆,只需注释掉该行,即可以直接登陆。

OpenBsd 忘记密码解决

酷文转载 No Comments »

当系统在引导菜单的 10 秒倒计时时进入它, 选项, 其编号 4。
1.进入单用户模式
# boot -s
# /sbin/mount -a
然后用passwd 修改密码就OK了

2.如果对console和ttyv都设置是安全限制
单用户进不去有没CD~
前提必须得有台BSD

把忘记密码的硬盘挂到了有root权限的系统上。
先检查文件系统
#fsck -y /dev/ad2s1
挂载到一个目录上
#mount /dev/ad2s1 /mnt
用chroot创建个环境
#chroot /mnt
然后进里面挂载丢失root密码的usr目录
#fsck -y /dev/ad2s1f
#mount /dev/ad2s1f /mnt
设置密码
#/usr/sbin/passwd root
搞定

Microsoft visual studio 2005 C1902: 程序数据库管理器不匹配 错误

读书笔记 No Comments »

Here are steps how I got it and solve:
1. I like to compile some sources from the command prompt, so I added to the PATH environment variable - “C:\Program Files\Microsoft Visual Studio 8\VC\Bin”. After that I had to copy some files from “C:Program Files\Microsoft Visual Studio 8\Common7\IDE” to get cl.exe working (one of files was mspdb80.dll).
2. Some time later I tryed to compile a project from MSDev and got C1902 error.
3. With MSDN search I got to this place to see Jonathan Caves’s helpful message about mspdbsrv.exe.
4. I just copied that EXE to VC\Bin and everithing becomes Ok.
5. Now I can compile anything .

Thx N.Design Studio for this Theme
Entries RSS Comments RSS Log in