June 19, 2015This too is one of the boring "factual" posts. Sorry Lachlan.I never know which .net uri encoding (or urlencoding?) method to use in any ...
junq@wode008:~$sudo/opt/script/ntp.date.sh[sudo]passwordforjunq:Sorry,tryagain.[sudo]passwordforjunq:junqisnotinthesudoersfile.Thisincidentwillbereported.junq@wode008:~$***是你当前的用户名,原因是***用户没有加入到sudo的配置文件里//查看sudouserroot@wode008:/..
分类:
系统相关 时间:
2015-07-08 00:49:00
阅读次数:
135
#!/usr/bin/envpythonnum=1whilenum<4:num=num+1user=raw_input("Pleaseyouname:")ifuser=="lf":password=raw_input("pleasepass:")p="123456"whilepassword!=p:password=raw_input("pleasepasstryagain:")else:print"Welcomea"breakelse:print"Sorry,user%snotfound"%user
分类:
编程语言 时间:
2015-07-04 23:36:14
阅读次数:
174
mac上,一开始系统进入创建的用户是具有管理员权限的用户,但是那个密码,却不是进入root的密码,当运行su - 这个命令时,想进入root用户,发现需要输入密码,而输入自己用户密码后报su :sorry,经验证发现,使用sudo su -命令可以进入root用户,不需要输入密码,或者先输入sudo...
分类:
系统相关 时间:
2015-07-01 21:52:40
阅读次数:
149
vi编辑器十分强大,学习,与大家分享
今天分享一点
vi编辑器中关键字高亮设置、行号设置
1.打开终端输入如下命令
cd /usr/share/vim
sudo vim vimrc
2.需要获取root密码,不可见,如果输入错误会出现错误提示
Password:
Sorry, try again.
Password:
Sorry, try again.
P...
分类:
其他好文 时间:
2015-06-23 21:43:09
阅读次数:
191
Problem Description
对于表达式n^2+n+41,当n在(x,y)范围内取整数值时(包括x,y)(-39
Input
输入数据有多组,每组占一行,由两个整数x,y组成,当x=0,y=0时,表示输入结束,该行不做处理。
Output
对于每个给定范围内的取值,如果表达式的值都为素数,则输出"OK",否则请输出“Sorry”,...
分类:
其他好文 时间:
2015-06-06 14:57:08
阅读次数:
129
报错:sudo:sorry,youmusthaveattytorunsudo.visudo-f/etc/sudoers注释掉:Defaultsrequiretty。
分类:
其他好文 时间:
2015-06-02 15:33:43
阅读次数:
110
Sadly, 这节课带过去的笔记本没电了 T^T导致没有一行 Code, Sorry笔记如下: 1 Shape * p1; //使用指针创建对象的方法 2 p = new Circle (2.0); 3 Shape * p2; 4 p = new Rectangle (3.0, 5.0); 5...
分类:
编程语言 时间:
2015-06-02 00:20:57
阅读次数:
174
当在命令提示符下执行该命令时,报下列错误[root@clvn]#mysqladmin-urootpassword"sorry"mysqladmin:connecttoserverat‘localhost‘failederror:‘Accessdeniedforuser‘root‘@‘localhost‘(usingpassword:NO)‘解决办法:[root@clvn]#mysql-uroot-pEnterpassword:WelcometotheMaria..
分类:
数据库 时间:
2015-05-22 02:00:03
阅读次数:
175
本脚本分析Nginx负载均衡器的日志:#!/bin/bash
if[$#-eq0];then
echo"Error:pleasespecifylogfile."
exit0
else
LOG=$1
fi
if[!-f$1];then
echo"Sorry,sir.Icat‘tfindthisapachelogfile,plstryagain!"
exit0
fi
##########################################
echo"MostoftheI..
分类:
系统相关 时间:
2015-05-18 21:01:53
阅读次数:
206