I am using kdialog for a small Utility in making, Now i run into this promblem. There is one or more commbined functions that take sudo 3 or 4 times in a row. So its really annoying to have to enter it that many times.
I would like to use kdialog --password to store my sudo password every time i open the app it would store in a variable. This way its not sitting in a file or something. Any way, i can see that it stores just find i can echo $passwrd. But i have no clue how to have it input into the terminal when it askes for it. Is this possible? If so how, even if a diffrent approch. If not what is the actual use of kdialog --password ? If you cant do this is see very little use for it really.