码迷,mamicode.com
首页 >  
搜索关键字:usermode mkpasswd    ( 117个结果
mkpasswd
-l # (length of password, default = 7) 指定密码的长度,默认是7位数-d # (min # of digits, default = 2) 指定密码中数字最少位数,默认是2位-c # (min # of lowerca...
分类:其他好文   时间:2015-02-13 09:14:11    阅读次数:122
redhat Linux 7 破解root密码
IfyouhavelostorforgotrootpasswordofRHEL7,youcanfollowthissteptochangetoanewpassword,thisisdifferentwiththeRHEL6single-usermode,1,pressebuttoninGRUB2bootscreen.2,attheendofLinuxlineaddinit=/bin/shandremove‘rhgb‘and‘quiet‘3,Ctrl+xtobootthesystemwiththeparamet..
分类:系统相关   时间:2014-11-19 16:17:45    阅读次数:165
RHEL7 recover reset root password
Ifyouhavelostorforgotroot passwordofRHEL7,youcanfollowthissteptochangetoanewpassword, thisisdifferentwiththeRHEL6single-usermode,1,pressebuttoninGRUB2bootscreen.2,attheendofLinuxlineaddinit=/bin/shandremove ‘rhgb‘and‘quiet‘3,Ctrl+xtobootthesystemwiththepara..
分类:其他好文   时间:2014-10-01 01:04:40    阅读次数:369
expect 批量修改密码(无密码ssh登入就不要用这个了)
#!/bin/bashforipin`catiplist.txt`dopwd=`mkpasswd-l12-s0-C0`grep-q$ip/root/pwd.log&&passwd=$(grep$ip/root/pwd.log|cut-d:-f2)||passwd=123456expect-c"spawnsshroot@$ippasswdexpect{\"*yes/no*\"{send\"yes\r\";exp_continue}\"*password*\"{send\"$passwd\r\";..
分类:其他好文   时间:2014-09-11 19:33:52    阅读次数:237
mkpasswd 自动生成密码
mkpasswd依赖于expectyuminstallexpectmkpasswd密码生成工具直接执行mkpasswd,就会生成一个密码看一下参数:-l生成密码长度,默认是7位-d密码中最少数字位数,默认2位-c密码中最少小写字母的个数,默认2位-C密码中最少大写字母的个数,默认2位-s密码中最少特殊字符的个数,默认..
分类:其他好文   时间:2014-09-11 15:30:14    阅读次数:1013
WizardEntry
using System;using System.Collections.Generic;using System.Linq;using System.Text;using WindowsFormsApplication3.FormPage.UserMode;namespace WindowsFo...
分类:其他好文   时间:2014-07-24 05:04:38    阅读次数:292
跳板机定期改密码脚本
很早写的,最近别人问过一次,贴出来吧。#!/bin/bash # source/etc/profile&>/dev/null basedir=$(cd`dirname$0`;pwd) nowmonth=`date+%m` nowday=`date+%d` email="$basedir/email/sendemail.sh" functionGaiMiMa(){ user="$1" passwd=$(/usr/bin/mkpasswd-l20-d5-c2-C..
分类:其他好文   时间:2014-05-07 22:26:08    阅读次数:951
117条   上一页 1 ... 10 11 12
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!