Is there an option to apply a password with the command in the terminal? Somethhing like:
sudo some-command -pass=mypass
I'm just curious, I know that this is not safe.
Is there an option to apply a password with the command in the terminal? Somethhing like:
sudo some-command -pass=mypass
I'm just curious, I know that this is not safe.
sudo apt-get update
will prompt me for password, but I only want to execute this command, without a prompt for password. Best example, starting lampp. I wrote a script,and I don't want to enter password in terminal, I want to eneter password in script directly, so it will execute without prompting me for password. – Aleksandar Jul 24 '14 at 19:44