精華區beta FreeBSD 關於我們 聯絡資訊
※ 引述《[email protected]》之銘言: : 請問一下在/usr/local/etc/rc.d底下寫個shell檔... : 但想要這個shell檔裡面的程式指令要由特定的user來執,那該怎麼做呢? : Ex: : bbsd.sh: : #!/bin/sh : /home/bbs/bin/bbsd : 要怎麼設定 /home/bbs/bin/bbsd 才會由指定的使用者帳號來執行呢? su bbs -c /home/bbs/bin/bbsd -- Yen-Ming Lee [李彥明] | http://www.leeym.com/ -- ※ From: utopia.leeym.com떎8=