LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-28-2014, 11:28 AM   #1
rbagwell
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 ?

Thanks,

Ralph
 
Old 08-28-2014, 04:24 PM   #2
andrew.sharp3
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
cepheus11
Member
 
Registered: Nov 2010
Location: Germany
Distribution: Gentoo
Posts: 269

Rep: Reputation: 83
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...
 
Old 08-29-2014, 09:56 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,340
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
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.
 
  


Reply


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


All times are GMT -5. The time now is 10:38 AM.

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