May scripts and tasks invoked via rc.local run with root permissions?
Nils Kassube
kassube at gmx.net
Wed Dec 7 07:03:15 UTC 2011
Jay Ridgley wrote:
> I have a situation where I would like to run a script every time the
> system boots. The requirements are such that it must run as root. If
> the owner is specified as root and invoked from rc.local during
> start up will the script in effect run the same as it were invoked
> from the command line with sudo?
/etc/rc.local is run by root already, so your script should run without
special tricks.
Nils
More information about the ubuntu-users
mailing list