現在在一個大型公司裡面, 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
--
/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