How do I run a script on startup as superuser?

23,924

/etc/rc.local will run as root.

Most of the init process is run as root, or starts out that way.

Share:
23,924

Related videos on Youtube

Qwintus
Author by

Qwintus

Updated on September 18, 2022

Comments

  • Qwintus
    Qwintus over 1 year

    I want to run a command on startup on my Ubuntu Server. Does anyone know how to do this? Does /etc/rc.local run as superuser? Any help will be appreciated. Thanks!