LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-21-2017, 03:36 PM   #1
ailhorns
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.

Thoughts/suggestions?
 
Old 06-23-2017, 11:18 AM   #2
ailhorns
LQ Newbie
 
Registered: May 2017
Posts: 5

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

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


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:29 PM.

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
Open Source Consulting | Domain Registration