【求助】請問bind執行與root權限的問題!! - PCZONE 討論區

返回   PCZONE 討論區 > ▲ -- 電 腦 軟 體 討 論 區 > -- FreeBSD & Linux 討 論 版


PCZONE 討論區



通知

-- FreeBSD & Linux 討 論 版 因為本站採用 FreeBSD 作業系統,所以自己本身也多學了一些技巧,希望各位在這裡互相討論 Unix 作業系統及程式等相關問題。

低等會員
【求助】請問bind執行與root權限的問題!!
bind一開機執行時想要讓他執行後就立刻自動不用root權限執行
相關設定可否解說一下??^^#

回覆
進階會員

named的啟動參數修改一下即可

man named
-u user_name
Specifies the user the server should run as after it initial-
izes. The value specified may be either a username or a
numeric user id. If the ``-g'' flag is not specified, then
the group id used will be the primary group of the user spec-
ified (initgroups() is called, so all of the user's groups
will be available to the server).

-g group_name
Specifies the group the server should run as after it ini-
tializes. The value specified may be either a groupname or a
numeric group id.

回覆







 XML   RSS 2.0   RSS 
本站使用 vBulletin 合法版權程式
站務信箱 : [email protected]

本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。