LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Define a keyboard shortcut to enter a string in a field (type in password) (https://www.linuxquestions.org/questions/linux-newbie-8/define-a-keyboard-shortcut-to-enter-a-string-in-a-field-type-in-password-4175516661/)

rbagwell 08-28-2014 10:28 AM

Define a keyboard shortcut to enter a string in a field (type in password)
 
I'm the one who complained about having to enter a password too often using Mint 17.

Is there a program available for Mint that can type in a password when required with a keyboard shortcut ?

Thanks,

Ralph

andrew.sharp3 08-28-2014 03:24 PM

Pretty much no. This is one of the downfalls of the Ubuntu OS suites, the persistent need for passwords and even rebooting. Try Mageia/OpenMandriva, or another OS not tied to sudo and has a proper administration password.

cepheus11 08-29-2014 05:56 AM

No need to change distro - in Ubuntu/Mint, you should be able to get a root shell with

Code:

sudo su -
"su" starts the shell, "-" sanitizes environment variables.

Quote:

type in a password when required with a keyboard shortcut ?
I would advise against building a custom solution which keeps your password in memory - you never know what happens under rare circumstances, like the program crashing and the system writing a dump file with the program's memory contents...

frankbell 08-29-2014 08:56 PM

You can make the root user accessible in any of the distros that suffer from a sudo fetish in this way:

Code:

sudo su
passwd    <------You will be asked to enter the password twice.  Make sure you remember it.

That will establish a root password. You can then become root by opening a terminal and using su to become root with your new root password.


All times are GMT -5. The time now is 12:22 AM.