custom passphrase to unlock

Asked by tetris11

Hi, I was wondering if it would be possible to supply a flag that would prompt the user for a custom passphrase that would then be used to unlock the screen, instead of the user's actual password.

Why this might be useful:

 1 - You've locked your machine and left the building, but need to run a few user scripts. You could then message your colleague to unlock your machine and run said scripts using the custom passphrase, without compromising your actual password or giving them elevated priveleges (via sudo).

 2 - If you forget the passphrase you set, you can still unlock the machine by switching to a different tty and killing the process using regular elevated priveleges.

I understand that remote logins were invented for my first reason, but many workplaces are managed through subnets and makes access hard.

Why this might not be useful:
 - Security issues? I genuinely can't think of any except if the custome passphrase is weak.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu xtrlock Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
tetris11 (tetris11) said :
#1

I wrote a patch for xtrlock.c that does as I described for version 2.7

It takes a -p flag that prompts the user. The -b flag works as normal.

Patch: http://pastebin.com/Ky6BpWSB
Source: http://pastebin.com/40EK4iz6

Revision history for this message
tetris11 (tetris11) said :
#2

Whoops, small error in previous comment code -- fixed.

 Patch: http://pastebin.com/CQAKn7Uj
Source: http://pastebin.com/ZU71MRiB

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.