senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Untitled attachment

Download link

Notices where this attachment appears

  1. GNU social JP (gnusocialjp@gnusocial.jp)'s status on Thursday, 15-Sep-2022 19:41:32 JST GNU social JP GNU social JP
    in reply to
    こちらの記事の内容、そもそも不要だと思います。

    ルート権限で実行する必要があるならば、以下のように最初からルート権限でスクリプトファイルを実行すればいいからです。

    sudo ./script_file.sh 実行したいコマンドをスクリプトファイル (script_file.sh) に記載して、上記コマンドを実行すればよいだけだと思います。

    >今やっていることですが、

    execute commands as root のところに処理を書けば良いのかな?

    これはあっています。

    #execute commands as root の部分を削除して、コマンドを書けばよいです。コマンドが見つからない場合、コマンド名が間違っているか、インストールされていない可能性があります。
    In conversation Thursday, 15-Sep-2022 19:41:32 JST from gnusocial.jp permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.