以非root帳號執行須要root權限的程式 - Linux

By Genevieve
at 2012-12-06T16:05
at 2012-12-06T16:05
Table of Contents
小弟使用linux不長
最近遇到一個情況 不知道該怎麼辦:
開機時自動執行某一個程式
此程式有下列特性:
1. 在一個只有root 可以rwx的資料夾中
2. 此資料夾中的所有檔案(都是該程式會用到的)也只有root可rwx
在以知root密碼的狀態下
怎樣可以正常的讓一個一般user一登入時就正常的開起 使用此程式
不需要使用者做任何事 (su or sudo or 輸入密碼)
雖然目前大家接受取消資料夾的root權限限制
但我好奇這任務該怎麼做?
--
最近遇到一個情況 不知道該怎麼辦:
開機時自動執行某一個程式
此程式有下列特性:
1. 在一個只有root 可以rwx的資料夾中
2. 此資料夾中的所有檔案(都是該程式會用到的)也只有root可rwx
在以知root密碼的狀態下
怎樣可以正常的讓一個一般user一登入時就正常的開起 使用此程式
不需要使用者做任何事 (su or sudo or 輸入密碼)
雖然目前大家接受取消資料夾的root權限限制
但我好奇這任務該怎麼做?
--
Tags:
Linux
All Comments

By Ula
at 2012-12-11T04:00
at 2012-12-11T04:00

By Lydia
at 2012-12-13T04:04
at 2012-12-13T04:04

By Yuri
at 2012-12-15T16:21
at 2012-12-15T16:21

By Catherine
at 2012-12-16T00:09
at 2012-12-16T00:09

By Skylar DavisLinda
at 2012-12-16T20:39
at 2012-12-16T20:39

By Audriana
at 2012-12-20T13:46
at 2012-12-20T13:46

By Elizabeth
at 2012-12-22T11:01
at 2012-12-22T11:01

By Charlotte
at 2012-12-23T06:12
at 2012-12-23T06:12

By Elizabeth
at 2012-12-24T00:55
at 2012-12-24T00:55

By Queena
at 2012-12-26T20:46
at 2012-12-26T20:46

By Elvira
at 2012-12-28T01:57
at 2012-12-28T01:57

By Wallis
at 2012-12-30T17:37
at 2012-12-30T17:37

By Edward Lewis
at 2013-01-01T22:54
at 2013-01-01T22:54

By Bethany
at 2013-01-06T07:21
at 2013-01-06T07:21

By Emily
at 2013-01-09T16:50
at 2013-01-09T16:50

By Sarah
at 2013-01-10T23:31
at 2013-01-10T23:31

By Vanessa
at 2013-01-14T05:36
at 2013-01-14T05:36

By Aaliyah
at 2013-01-16T17:41
at 2013-01-16T17:41

By Donna
at 2013-01-18T23:31
at 2013-01-18T23:31

By Elma
at 2013-01-20T03:49
at 2013-01-20T03:49

By Sandy
at 2013-01-23T18:24
at 2013-01-23T18:24

By Isla
at 2013-01-25T23:31
at 2013-01-25T23:31
Related Posts
和Linux Mint合不來

By George
at 2012-12-06T00:30
at 2012-12-06T00:30
openoffice炸裂

By Kyle
at 2012-12-05T20:38
at 2012-12-05T20:38
如何把用LVM裝的系統變成普通的分割?

By Edith
at 2012-12-05T19:30
at 2012-12-05T19:30
USB安裝CentOS

By Rachel
at 2012-12-05T18:24
at 2012-12-05T18:24
iptables問題

By Ingrid
at 2012-12-05T17:47
at 2012-12-05T17:47