エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
The `sudo chroot /chroot su - user -c "cmd args"` trick
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
The `sudo chroot /chroot su - user -c "cmd args"` trick
I was solving a problem for Testling and run into difficulties. Every Github user who signs up fo... I was solving a problem for Testling and run into difficulties. Every Github user who signs up for Testling gets a Unix user on Testling's servers. When they commit code, we get a Github hook, switch to their user, clone their repo, and run their tests. To quickly get it running, I copied / to /chroot and then when the hook comes, I just chroot to this environment, then su - username, and then run