在 Fedora 16 中以執行等級 1 登入時自動執行使用者互動腳本

在 Fedora 16 中以執行等級 1 登入時自動執行使用者互動腳本

我希望在 root 登入 fedora 16 後執行使用者互動式 shell 腳本。我如何在 root 登入(CLI 登入而不是 GUI)上執行 shell 腳本?

注意:我看過這種方法runlvel 3 中的 Fedora 自動登入和自動啟動應用程式但在 FC16 上不起作用

透過編輯 /root/.bash_profile 解決:-)

相關內容