Quick Bash Script
by TBotNik from LinuxQuestions.org on (#5K40K)
All,
Trying to get a script to work to open sudo mode in each and every Konsole session, on Kubuntu 18.04 LTS.
Here is my current code"
Code:#! /bin/bash
# Script to open sudo mode on/in the konsole
# CMD: bash "/Scriptspath/make-sudo.sh"
echo 'mypass' | sudo -s
exitI have looked at over 20 HOWTOs and followed them, but the all error and display the "sudo help" options instead of working!
A good HOWTO link that works will be appreciated!
Cheers!
TBNK
Trying to get a script to work to open sudo mode in each and every Konsole session, on Kubuntu 18.04 LTS.
Here is my current code"
Code:#! /bin/bash
# Script to open sudo mode on/in the konsole
# CMD: bash "/Scriptspath/make-sudo.sh"
echo 'mypass' | sudo -s
exitI have looked at over 20 HOWTOs and followed them, but the all error and display the "sudo help" options instead of working!
A good HOWTO link that works will be appreciated!
Cheers!
TBNK