關於sudo的簡單問題 - Linux

By Megan
at 2012-01-21T05:36
at 2012-01-21T05:36
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
--
/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
--
Tags:
Linux
All Comments

By Regina
at 2012-01-24T05:04
at 2012-01-24T05:04

By Audriana
at 2012-01-27T10:31
at 2012-01-27T10:31

By Rosalind
at 2012-01-28T03:46
at 2012-01-28T03:46

By James
at 2012-01-31T13:41
at 2012-01-31T13:41
Related Posts
慘了…無法移除檔案

By Eden
at 2012-01-20T00:00
at 2012-01-20T00:00
區網的macbook與ubuntu server互ping不到

By Edwina
at 2012-01-19T18:09
at 2012-01-19T18:09
Arch 和 unity 一問

By Margaret
at 2012-01-19T12:55
at 2012-01-19T12:55
如何處理印表機工作佇列為 stopped 的狀況

By Vanessa
at 2012-01-19T11:47
at 2012-01-19T11:47
可以上網軟體中心卻無法安裝軟體

By Queena
at 2012-01-19T02:43
at 2012-01-19T02:43