#!/bin/bash
[-fuser.log]&&rm-fuser.log
foriin`seq-w10`
do
pass=$(echo$RANDOM`opensslrand-base648`|cut-c1-10)
useraddguest$i&&echo"$pass"|passwd--stdinguest$i
echo-e"user:guest$i\tpass:$pass">>user.log
done
分类:
系统相关 时间:
2014-09-25 02:34:18
阅读次数:
261
Securityarrangements for a universal serial bus (USB) protocol stack of aUSB host system are provided. Thesecurityarrangements prevent an unauthorized...
分类:
其他好文 时间:
2014-09-24 13:07:06
阅读次数:
309
1,aliCloud基于RAM service实现跨账户ECS资源访问Example主要的资源为Instance,Image,Snapshot,disk,SecurityGroupAction太多在此pass.....;2,实战aliCloud基于RAM service实现跨账户ECS资源访问3st...
分类:
其他好文 时间:
2014-09-24 12:25:26
阅读次数:
220
将明文转换为密文1 #将明文转换为密文2 $storage = "d:\pass.txt"3 $mysecret = 'mypassword.'4 5 $mysecret | 6 ConvertTo-SecureString -AsPlainText -Force |7 ConvertFro...
分类:
其他好文 时间:
2014-09-24 10:34:26
阅读次数:
233
一、软硬件配置检查1、检查内存#/usr/contrib/bin/machinfoCPU info: 4 Intel(R) Itanium 2 9100 series processors (1.59 GHz, 18 MB) 532 MT/s bus, CPU version A1 8 logica...
分类:
数据库 时间:
2014-09-24 01:56:35
阅读次数:
447
1.linux如何挂在windows下的共享目录mount.cifs //192.168.1.3/server /mnt/server -o user=administrator,pass=123456linux 下的server需要自己手动建一个 后面的user与pass 是windows主机的账...
分类:
系统相关 时间:
2014-09-23 22:33:45
阅读次数:
283
#include #include #include #include #include #include #include /* 下面的三个参数是跟具体文件相关 * cmd: file 音频文件 * [file pass.wav] =>> pass.wav: RIFF (little-endian...
分类:
系统相关 时间:
2014-09-23 00:45:53
阅读次数:
412
首先从dmesg来认识usb:
[ 19.610046] msm_hsic_host msm_hsic_host: Qualcomm EHCI Host Controller using HSIC
[ 19.620391] msm_hsic_host msm_hsic_host: new USB bus registered, assigned bus number 1
[ 19...
分类:
系统相关 时间:
2014-09-22 22:52:33
阅读次数:
1557
Java is strictly pass-by-value. which means, when you pass a variable to a method, the method will just make a copy of that varible and use that copy,...
分类:
编程语言 时间:
2014-09-20 09:56:17
阅读次数:
230
1. 1. 引言
1. 类与实例
可以定义一个本身没有任何属性的类,而仅把它用做数据的名字空间,这样的类仅作为容器对象来共享名字空间。
示例如下:
class MyData(object):
pass
下面创建它的实例,它只使用类作为名称空间容器。
>>> mathObj = MyData()
>>> mathObj.x = 4
>>> mathObj.y...
分类:
编程语言 时间:
2014-09-19 19:25:36
阅读次数:
392