5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

suを使わずにrunuserを使おう

Last updated at Posted at 2014-01-31

参考

/etc/rc.local にスタートアッププログラムを記述して、OS起動時プロンプトが止まった経験がある人向け。

/etc/rc.local
runuser -l vbox -c "/usr/bin/VBoxManage startvm xampp-vm --type headless"

sudo -uとどう違うのか理解してないけど、runuser使う。

最近は@reboot使っています。 cronの実行時間微調整, @reboot - Qiita

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?