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.
Related videos on Youtube
Author by
Qwintus
Updated on September 18, 2022Comments
-
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!