sudo commands in /etc/rc.local
Posted: Wed May 14, 2025 10:14 am
Hello folks,
Just curious, per this post: viewtopic.php?p=819252#p819252
D.O. says to put this command, that requires sudo to run, "put this command in /etc/rc.local, just above the "exit 0" that is in the file by default."
I don't know scripts, and I usually put commands in Session and Startup - or Keyboard Shortcut, but can ALL, MOST, and/or only SPECIFIC commands be place in
/etc/rc.local?
Or, any general comments regarding placing sudo commands in "/etc/rc.local", or any other relatively easy methods of "automatically" running sudo commands?.
Again, just curious.
Thanks
Just curious, per this post: viewtopic.php?p=819252#p819252
D.O. says to put this command, that requires sudo to run, "put this command in /etc/rc.local, just above the "exit 0" that is in the file by default."
I don't know scripts, and I usually put commands in Session and Startup - or Keyboard Shortcut, but can ALL, MOST, and/or only SPECIFIC commands be place in
/etc/rc.local?
Or, any general comments regarding placing sudo commands in "/etc/rc.local", or any other relatively easy methods of "automatically" running sudo commands?.
Again, just curious.
Thanks