【求助】請問bind執行與root權限的問題!!



贊助商連結


不應有恨
2003-08-08, 11:24 AM
bind一開機執行時想要讓他執行後就立刻自動不用root權限執行
相關設定可否解說一下??^^#

贊助商連結


repsol
2003-08-08, 05:50 PM
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.