Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-28-2014, 11:28 AM   #1
LQ Newbie
Registered: Dec 2003
Distribution: Mandrake 9.2
Posts: 5

Rep: Reputation: 0
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 ?


Old 08-28-2014, 04:24 PM   #2
LQ Newbie
Registered: Jan 2008
Posts: 6

Rep: Reputation: 0
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.
Old 08-29-2014, 06:56 AM   #3
Registered: Nov 2010
Location: Germany
Distribution: Gentoo
Posts: 285

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

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

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...
Old 08-29-2014, 09:56 PM   #4
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,885
Blog Entries: 18

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

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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
impossible to enter password english keyboard instead of french keyboard papilonaa Linux - Newbie 6 12-03-2013 03:57 AM
[SOLVED] Use wireless keyboard to enter luks password arpanetguru Slackware 2 12-29-2011 02:06 PM
Script/Programing:Enter a value in a field andClick on Java knob with curl/wget type? frenchn00b Linux - General 2 12-22-2007 06:44 AM
[cmdline, links type] How to enter a field, and run the java knob ? frenchn00b Programming 0 10-21-2007 04:05 PM
Keyboard won't work to type root password Stevetgn Linux - Newbie 2 06-14-2003 06:11 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration