Linux用户类别 root:这是系统特权用户类,他们都有访问root登录账号的权限 owner:这是实际拥有文件的用户 group:这是共享文件的组访问权的用户类的用户组名称 world:这是不属于上面3类的所有其他用户。 /etc/passwd 文件格式: muming:x:1000:1000: ...
分类:
系统相关 时间:
2018-12-10 15:50:05
阅读次数:
218
ExcelExportHelper.cs using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Collections;using System.IO;using S ...
分类:
其他好文 时间:
2018-12-09 16:45:51
阅读次数:
129
本文将梳理 QEMU/KVM 快照相关的知识,以及在 OpenStack Nova 中使用 libvirt 来对 QEMU/KVM 虚机做快照的过程。 1. QEMU/KVM 快照 1.1 概念 QEMU/KVM 快照的定义: 磁盘快照:磁盘的内容(可能是虚机的全部磁盘或者部分磁盘)在某个时间点上被 ...
分类:
其他好文 时间:
2018-12-08 15:39:10
阅读次数:
194
1.Windows Server 2008 中的用户有哪些类型?系统默认的用户有哪些? 用户类型: (1)用户; (2)InetOrgPerson; (3)联系人; (4)默认用户账户。 默认用户: (1)Administrator; (2)Guest。 2.如何在 Windows Server 2 ...
分类:
其他好文 时间:
2018-12-08 14:45:58
阅读次数:
153
<div class="container"> <table id="backViewTable" class="table table-hover table-sm table2excel"> <tr> <td>#</td> <td>ID</td> <td>姓名</td> <td>座位号</td> ...
分类:
Web程序 时间:
2018-12-08 11:27:22
阅读次数:
239
令牌token(包含uid,gid,groups..)命令:chown;chgrp;chmod;umask;chattr;lsattr;getfacl;setfacl;resetchown:changeownerchgrp:changegroupchmod:changemode1.普通用户不可以更改文件的所有者。普通用户要想更改文件的所属组(主组),首先文件必须是自己的;再者,修改后的组需要在这个
分类:
其他好文 时间:
2018-12-08 00:23:08
阅读次数:
199
今天实现游客和注册用户登录 1 using System.Collections.Generic; 2 using System.Linq; 3 using System.Web; 4 using System.Web.UI; 5 using System.Web.UI.WebControls; 6 ...
分类:
其他好文 时间:
2018-12-07 21:01:01
阅读次数:
234
usermod是更改用户属性的一个命令格式:usermod-u111usernameusermod-g123(可以是组名,也可以是gid)username更改家目录:usermod-d/home/user9username更改shell:usermod-s/sbin/nologinusername增加扩展组:usermod-G组名username更改用户多个扩展组:usermod-G组名,组名us
分类:
其他好文 时间:
2018-12-07 12:07:15
阅读次数:
202
函数名限制 dbmopen() 检查被操作的文件或目录是否与正在执行的脚本有相同的 UID(所有者)。 dbase_open() 检查被操作的文件或目录是否与正在执行的脚本有相同的 UID(所有者)。 filepro() 检查被操作的文件或目录是否与正在执行的脚本有相同的 UID(所有者)。 fil ...
分类:
Web程序 时间:
2018-12-06 20:54:27
阅读次数:
293
一、虚拟机部署前准备安装KVM宿主机准备一台虚拟机并安装centos系统配置基本要求:内存2G,处理器2核,硬盘10G,支持虚拟化。挂载新加硬盘#fdisk-l#fdisk/dev/sdb#mkfs.ext4/dev/sdb1#vim/etc/fstab/dev/sdb1/kvm_dataext4defaults11#mkdir/kvm_data#mount-a#df-h文件系统容量已用可用已用%
分类:
其他好文 时间:
2018-12-06 20:44:59
阅读次数:
278