關於sudo的簡單問題 - Linux

Table of Contents

現在在一個大型公司裡面, root密碼只有管理者知道, 現在

/home下面有每個人的帳號名, 而且管理者也讓每個人都擁有root的權力:

我用我的帳號(如abc)登入後, 查看/etc/sudoers, 看到


root ALL=(ALL) ALL
abc ALL=(ALL) ALL



但請問為什麼我不能在/home裡面touch一個檔案呢?

例如:

sudo touch /home/testfile
touch: cannot touch 'testfile': Permission denied

--

All Comments

Regina avatarRegina2012-01-24
home是怎麼mount的
Audriana avatarAudriana2012-01-27
可能是nfs而且設定root_squash
Rosalind avatarRosalind2012-01-28
home確實mount到nfs裡的home,可能是nfs裡權限的問題
James avatarJames2012-01-31
問管理者似乎比較快..@_@..