Visit Jeremy's Blog.
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 06-21-2017, 04:36 PM   #1
LQ Newbie
Registered: May 2017
Posts: 5

Rep: Reputation: Disabled
How to automatically prompt for LUKS password upon login, using Startup Applications

Hi there.

New install of Debian Stretch, new to GNU\Linux. I have a data drive that is encrypted using LUKS.

I want to be prompted to enter the encryption password after I login.

I want to accomplish this via the Startup Applications app (probably a "custom command"?)

Also, if possible, I'd like to not have to enter my admin pwd AFTER I enter the encryption pwd.

Old 06-23-2017, 12:18 PM   #2
LQ Newbie
Registered: May 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
anyone have any hints?
Old 06-25-2017, 05:00 PM   #3
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
When the system tries to mount the partition, it will prompt for a password. So, you just have to put an entry in /etc/fstab.


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
[PATCH] rc.S: interactive password prompt for LUKS devices with options in /etc/crypttab .Lightning Slackware 7 04-29-2016 10:42 AM
Applications start automatically on startup biharibong Debian 5 01-08-2009 06:22 PM
automatically prompt user to change password guy_ripper Linux - Security 7 01-18-2007 02:57 PM
Session/Password Prompt at Startup Rayek SUSE / openSUSE 3 01-09-2006 07:03 PM
how can i pre-load applications into ram automatically at startup??? win32sux Linux - General 10 02-24-2004 06:20 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:20 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
Open Source Consulting | Domain Registration