AD域控-ntdsutil清理元数据 Windows

原因是林里面依旧残留宕机的主域信息,需要进行清除。 ntdsutil命令,这个是固定的进入到metadate cleanup 清理元数据模式。 Select operation target ——connections——connect to server 域名.com—quit。(这一些是固定命令)之后列出当前站点 list site,找到了...
myluzh 发布于 

RouterOS基于源地址的策略路由 RouterOS

0x01 需求 目前出口有两条:1.pppoe-out-yd(移动pppoe出口)2.pppoe-out-dx(电信pppoe出口) 需要源地址172.16.20.0/24 无线网络网段 走移动出口,不走电信默认出口。其他走电信出口。 0x02 实现 方案一、通过mangle表实现 (1)添加标记 IP->Firewall->Mangle-&g...
myluzh 发布于 

H3C交换机关闭密码复杂度限制 H3C

The new password is too short. It must contain at least 10 characters. password-control length 4 password-control composition type-number 1 type-length 1 undo password-control comp...
myluzh 发布于 

Ansible-module常用模块 Linux

官方文档传送门: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/index.html#plugins-in-ansible-builtin ping模块 (检查主机连通性) [root@master ansibleProject]# ansible -i ./inven...
myluzh 发布于 

Ansible-inventory主机清单 Linux

创建inventory文件 vim /root/ansibleProject/inventory [node134] #手动在主机清单中指定这台机子的用户名密码 192.168.253.134 ansible_ssh_port=22 ansible_ssh_user=root ansible_ssh_pass="cisco123" [node133] 192...
myluzh 发布于 

Ansible-基础笔记 Linux

yum安装ansible需要先启动EPEL仓库,具体方法自行百度。 [root@master ~]# yum install ansible --nogpgcheck 安装完成后使用--version 查看默认配置文件 [root@master ~]# ansible --version ansible [core 2.14.2] config file...
myluzh 发布于 

CentOS6~8 配置阿里云yum源与epel源 Linux

CentOS 6 wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-6.10.repo 或者 curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/re...
myluzh 发布于