筑波大学 システム情報工学研究科
コンピュータサイエンス専攻, 電子・情報工学系
新城 靖
<yas@is.tsukuba.ac.jp>
このページは、次の URL にあります。
http://www.coins.tsukuba.ac.jp/~syspro/2007/No8_files/superuser.html
あるいは、次のページから手繰っていくこともできます。
http://www.coins.tsukuba.ac.jp/~syspro/2007/
http://www.coins.tsukuba.ac.jp/~yas/
次の例は、モードが 000 (---------) ファイルをスーパーユーザの権限で読むことが出き
ることを示している。
% suPassword: rootのパスワード
# cd /tmp
# ls -l file1
ls: file1: No such file or directory # echo "This is file1" > file1
# chmod 000 file1
# ls -l file1
---------- 1 root wheel 14 Jun 19 00:55 file1 # cat file1
This is file1 # rm file1
#
![]()
ln -f、rm -f、link、unlink)
。
setuid(2)
)
。
reboot,halt, shutdown)
date, hostname, domainname)
acct)
chroot)