查看用户 who am i or who mom likes who 命令其它常用参数 添加用户lilei到系统,同时也默认为新用户创建 home 目录 sudo adduser lilei 切换登录用户 su -l lilei 查看当前用户所在用户组 groups shiyanlou 查看文件 s ...
分类:
系统相关 时间:
2018-04-09 00:22:48
阅读次数:
170
http://acm.timus.ru/problem.aspx?space=1&num=1929 combination problems. 排列组合问题。 According to the problems, it is assumed that Holden is chosen and the ...
分类:
其他好文 时间:
2018-04-07 12:53:37
阅读次数:
210
第一种:新增用户 ansible host -m user -a "name=zhang shell=/bin/bash groups=admin,root append=yes home=/home/zhang state=present" name:新增用户名字 shell:用户的shell g ...
分类:
其他好文 时间:
2018-04-06 19:36:24
阅读次数:
182
一、Keystone介绍 OpenStack Identity(Keystone)服务为运行OpenStack Compute上的OpenStack云提供了认证和管理用户、帐号和角色信息服务,并为OpenStack Object Storage提供授权服务。 OpenStack的身份服务提供了集成的 ...
分类:
其他好文 时间:
2018-04-03 11:29:32
阅读次数:
233
1.下载攻击脚本 2.获得udev进程号 3.获得udev进程号,然后将此数字减1作为exploit-udev-8478的参数,执行脚本 4.输入id进行验证 多次实验仍未成功,大佬看到求指点,应该是我的linux版本问题把 ...
分类:
系统相关 时间:
2018-04-02 20:19:57
阅读次数:
265
背景 因为使用的是sudo安装docker,所以会导致一个问题。以普通用户登录的状况下,在使用docker images时必须添加sudo,那么如何让docker免sudo依然可用呢?于是开始搜索解决方案。 理清楚问题 当以普通用户身份去使用docker images时,出现以下错误: Got pe ...
分类:
其他好文 时间:
2018-03-31 20:34:23
阅读次数:
142
1./etc/group文件 存放组的基本信息 2./etc/gshadow 组密码配置 例如:设置组密码并查看配置文件: 组设置密码的时候也是同用户设置密码一样,先写到/etc/group中,然后再写到/etc/gshadow中 3.组基本管理命令: 例如: * groups和id也可以加其他用户 ...
分类:
其他好文 时间:
2018-03-30 20:06:23
阅读次数:
172
CentOS 7 系统下,本文以 MATE 桌面环境安装进行安装配置说明: 1 . 安装 X Window System。 yum groups install "X Window System" 命令输入之后,会列出一大堆文字的,然后显示这个y/d/n,输入y,按回车下载安装2. 安装 MATE ...
分类:
其他好文 时间:
2018-03-29 18:58:05
阅读次数:
495
官网http://memcached.org/讨论组https://groups.google.com/forum/#!forum/memcached下载http://www.memcached.org/files/memcached-1.5.6.tar.gz阿里云版本https://www.aliyun.com/product/ocs简介Memcached是一个自由开源的,高性能,分布式内存对象
分类:
系统相关 时间:
2018-03-29 10:53:28
阅读次数:
174
Let's call a string adorable if its letters can be realigned in such a way that they form two consequent groups of equal symbols (note that different ...
分类:
其他好文 时间:
2018-03-24 23:52:04
阅读次数:
515