20081026------------------------------------------------------------------------
1 install: dictionary en<->hz
StarDict还算好用,字典装在目录:
C:\Program Files\StarDict\dic
字典装好后,其下面有有这几个目录:
stardict-cdict-gb-2.4.2
stardict-langdao-ce-gb-2.4.2
stardict-langdao-ec-gb-2.4.2
stardict-oxford-gb-2.4.2
stardict-wordnet-3.0.0
20081027------------------------------------------------------------------------
使用cygwin cron中发现如下问题:
安装cron后,用cronevent显示记录,提示:
2008/11/18 15:25:10 [huanglin] /usr/sbin/cron: PID 3740: (CRON) error (can't switch user context)
上网搜索后,解决方法如下:
RGH! Don't do this. Remove the Everyone group from these rights
again. The easiest way is to follow the ssh-host-config script in
creating a special account:
net user cron_server <passwd> /add /yes
net localgroup <administrators_group_name> cron_server /add
editrights -a SeAssignPrimaryTokenPrivilege -u cron_server
editrights -a SeCreateTokenPrivilege -u cron_server
editrights -a SeIncreaseQuotaPrivilege -u cron_server
editrights -a SeServiceLogonRight -u cron_server
mkpasswd -l -u cron_server >> /etc/passwd
For security reasons:
editrights -a SeDenyInteractiveLogonRight -u cron_server
editrights -a SeDenyNetworkLogonRight -u cron_server
editrights -a SeDenyRemoteInteractiveLogonRight -u cron_server
And then create a cron service using that account:
cygrunsrv -I cron -p /usr/sbin/cron -a -D -u cron_server -w <passwd>
本文暂时没有评论,来添加一个吧(●'◡'●)