官术网_书友最值得收藏!

Setuid

Another very interesting functionality is the setuid feature. If the setuid bit is set for a script, then the script will always run with the owner's privileges, irrespective of which user is running the script. If the administrator wants to run a script written by him by other users, then he can set this bit.

Consider either of the following situations:

    $ chmod u+s file_name
    $ chmod 4777 file 

The file permissions after any of the preceding two commands will be drwsrwxrwx.

主站蜘蛛池模板: 肇源县| 博罗县| 临武县| 遵义市| 资兴市| 喀喇沁旗| 焉耆| 遂平县| 盱眙县| 搜索| 三明市| 齐河县| 五峰| 福清市| 资中县| 英吉沙县| 宁阳县| 凤庆县| 汉沽区| 泸溪县| 洛川县| 忻州市| 崇义县| 荆门市| 尉氏县| 封丘县| 九龙城区| 肃南| 马边| 吐鲁番市| 和平区| 班玛县| 东城区| 武鸣县| 沂水县| 望奎县| 龙海市| 铁岭市| 吉木乃县| 普安县| 苍梧县|