Article 5K40K Quick Bash Script

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!

TBNKlatest?d=yIl2AUoC8zA latest?i=PmHNLUUZlhk:B5S5I0t4MsQ:F7zBnMy latest?i=PmHNLUUZlhk:B5S5I0t4MsQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=PmHNLUUZlhk:B5S5I0t4MsQ:gIN9vFwPmHNLUUZlhk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments