Artificial intelligent assistant

How to make a script run in the background, start upon system's start and not ask for password I have a script, that needs to start, when the system starts (so i put it in .bashrc) and run in the background (did that with &), but the problem is the scrip uses `rdate` command, which requires sudo to work. Can i somehow make it, so that it doesn't ever ask me for my password?

First, a correction: calling `rdate` from `$HOME/.bashrc` only happens when you login and start `bash`, not at system startup. Read `man bash` about "Startup Files".

`/etc/rc.local` is the place for system startup tasks. That's where your `rdate` call should be placed.

Since `/etc/rc.local` is run by `root`, `sudo` isn't needed.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 1d40fb4e22900aecce78dd4454e84ba7