Ubuntu的權限問題 - Linux

Wallis avatar
By Wallis
at 2012-03-22T18:08

Table of Contents

今天因為某些需求所以把/usr的權限改掉了

指令如下

sudo chmod 777 -r /usr/

然後就很順利的可以對這資料夾放東西

但是剛剛想安裝東西的時候我輸入了以下的指令

sudo apt-get install 軟體名稱

結果不能安裝了

跑出以下訊息

sudo: must be setuid root

可以請教各位前輩該怎麼解決這個問題嗎?

感謝各位前輩的指導^^

--
Tags: Linux

All Comments

Carolina Franco avatar
By Carolina Franco
at 2012-03-27T16:33
可能要從chown下手囉
Skylar Davis avatar
By Skylar Davis
at 2012-03-31T18:15
請問該怎麼做?...網路上找了一下都無效@@
Regina avatar
By Regina
at 2012-04-03T05:01
因為 /usr/bin/sudo 的 setuid 權限不見了
所以它已失去變更使用者身份的能力
David avatar
By David
at 2012-04-04T05:38
你可以用 root 登入(如果可以的話)
chmod 4755 /usr/bin/sudo
Ida avatar
By Ida
at 2012-04-07T16:38
(還有 chmod 777 是很不好的作法)
Lauren avatar
By Lauren
at 2012-04-12T05:52
以後不敢亂用了@@

安裝openwebmail的問題

Charlotte avatar
By Charlotte
at 2012-03-20T22:37
在執行./openwebmail-tool.pl --init時出現下面的錯誤訊息 Creating UTF-8 locales... langconv ar_AE.CP1256 -andgt; ar_AE.UTF-8 /usr/bin/suidperl: symbol lookup error: /us ...

curlftpfs

Sarah avatar
By Sarah
at 2012-03-20T21:00
※ 引述《joexx12 ((X ̄X)uu...)》之銘言: : 原本用法 : curlftpfs -o ftp://帳號:密碼at位址/路徑/ /掛載點 : 但是這樣密碼就會顯示出來,一般user 下df -h指令就可看到 我連的ftp 包含帳號密碼 : 後來改成 : curlftpfs -o user=帳 ...

curlftpfs

Candice avatar
By Candice
at 2012-03-20T20:28
最近發現個很好用的程式 curlftpfs 他可以用FTP的方式mount 遠端的FTP當作local folder 小弟遇到個問題想請教各位 我想開機就讓他自動執行 原本用法 curlftpfs -o ftp://帳號:密碼at位址/路徑/ /掛載點 但是這樣密碼就會顯示出來,一般user 下d ...

剛看到的 某fm和pcmanfm的比較

Hedda avatar
By Hedda
at 2012-03-20T16:56
Why two file managers? Because I use two. They do things differently, both both do some things better than the other... It comes down to speed and flexib ...

ubuntu 7.10裝glibc的問題~

Bennie avatar
By Bennie
at 2012-03-20T16:33
※ 引述《scarface ((andlt;ゝω・)綺羅星☆)》之銘言: : 因為要build的code在make期間出了 : /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.7and#39; not found (required by xxx : 的error ...