malongshuai / malongshuai.github.io

2 stars 0 forks source link

理解Effective UID(EUID)和Real UID(RUID) | 骏马金龙 #234

Open malongshuai opened 2 years ago

malongshuai commented 2 years ago

https://www.junmajinlong.com/linux/euid_ruid/

理解Effective UID(EUID)和Real UID(RUID)每个文件都有其所有者和所属组以及权限位属性: 12$ ls -l /etc/hosts-rw-r--r-- 1 root root 619 Oct 1 08:51 /etc/hosts 文件上的用户信息和权限信息是文件属性,是静态的,用来限制谁能对该文件执行什么操作。 而对文件执行操