Article 6F6NS [SOLVED] cryptsetup not recognizing options in /etc/crypttab

[SOLVED] cryptsetup not recognizing options in /etc/crypttab

by
sairum
from LinuxQuestions.org on (#6F6NS)
I'm using LUKS for disk encryption and have a couple of encrypted partitions to store sensitive data. I would like to be able to not mount these partitions at boot time by hitting ENTER just once when prompted for the password. The problem is that cryptsetup asks for the password three times (default behaviour). I changed my /etc/crypttab to something like

Code:cryptopart1 /dev/sdb1 none luks,tries=1
cryptopart2 /dev/sdb2 none luks,tries=1but apparently the system is ignoring tries=1 and still asks three times for the password! In /etc/rc.d/rc.S I found a comment saying that in Slackware cryptsetup only supports three options: discard, ro, and swap! Does this mean that I cannot change the default behaviour of cryptsetup for the number of password tries unless I recompile it? I haven't checked the source code so far...

PS: Slackware 15.0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments