SUID:当一个程序有SUID位的时候,有X权限的用户运行该程序时候都将以程序所有着的身份运行,且SUID只对程序有效对脚本无效。如普通用户可以运行passwd命令将新密码写入/etc/shadow文件中SGID:可以为二进制程序和目录设置SGID位。有X权限的用户运行该程序时候会获得该程序所在..
分类:
其他好文 时间:
2014-05-09 21:26:55
阅读次数:
406
declare @a intselect @a=20--COUNT(*) from
SEC_SecureUser while(@a>0)beginselect top 1 suUserID,SUID from SEC_SecureUser
where SUID not in(select top (...
分类:
其他好文 时间:
2014-05-09 09:58:20
阅读次数:
261
一、specialpermissionsforexecutables1.specialpermissionsforexecutables:-suid:commandrunwithpermissionsoftheownerofthecommand,notexecutorofthecommand-sgid:commandrunswithgroupaffiliationofthegroupofthecommandeg:file:usergroupothersuidsgid二、specialpermissio..
分类:
系统相关 时间:
2014-05-08 03:04:17
阅读次数:
574
特殊权限SUID:运行某程序时,相应进程的属主是程序文件自身的属主,而不是启动者。chmodu+sFILE如果FILE本身原来就有执行权限,则SUID显示为s,否则显示S。如:chmodu+s/bin/cat如:ls-l/usr/bin/passwd-rwsr-xr-x它默认就有SUID,所以普通用户才能有权限来修改自己的密码。SG..
分类:
系统相关 时间:
2014-05-06 16:33:48
阅读次数:
545