LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-23-2015, 05:01 PM   #1
fanoflq
Member
 
Registered: Nov 2015
Posts: 397

Rep: Reputation: Disabled
Learning Linux, Linux Mint : fstab and crypttab


Hello:

I was not able to find /etc/crypttab in iinux mint 17.1.

I do not have encryption yet on LM 17.1.

Here is what I did:

/proc $ sudo find / crypttab | grep crypttab
/usr/share/man/man5/crypttab.5.gz
/usr/share/gnome-disk-utility/edit-crypttab-dialog.ui
find: `crypttab': No such file or directory

Why crypttab not exists?
Thank you.

Last edited by fanoflq; 11-23-2015 at 05:05 PM.
 
Old 11-23-2015, 05:05 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by fanoflq View Post
I do not have encryption yet on LM 17.1.
That might explain why you don't have /etc/crypttab.


Quote:
Originally Posted by fanoflq View Post
/proc $ whereis fstab
fstab: /etc/fstab.d /etc/fstab /usr/include/fstab.h /usr/share/man/man5/fstab.5.gz
Try the highlighted file.
 
Old 11-23-2015, 06:55 PM   #3
fanoflq
Member
 
Registered: Nov 2015
Posts: 397

Original Poster
Rep: Reputation: Disabled
Addendum:

I forgot to ask this question:

Does this means we have to create our own crypttab file
if we want to do manual encryption setup?
 
Old 11-23-2015, 09:18 PM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by fanoflq View Post
Addendum:

I forgot to ask this question:

Does this means we have to create our own crypttab file
if we want to do manual encryption setup?
I would assume that crypttab is created by the Linux installer if you ask it to encrypt at least one filesystem, but if you set up encryption after installing your system, you have to write it.

Last edited by berndbausch; 11-23-2015 at 09:20 PM.
 
1 members found this post helpful.
Old 11-23-2015, 09:42 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Make sure you write down your encryption password or you won't be able to access your system.
Also, read the documentation on it first so you don't get any surprises.
-::-And perform a back up before hand.-::-

http://community.linuxmint.com/softw...ew/cryptkeeper

http://community.linuxmint.com/tutorial/view/1975
 
1 members found this post helpful.
Old 11-23-2015, 10:06 PM   #6
fanoflq
Member
 
Registered: Nov 2015
Posts: 397

Original Poster
Rep: Reputation: Disabled
Thank you all.

The reason for asking above questions is that I wanted to use cryptsetup via command line to learn about encryption setup.
 
Old 11-23-2015, 10:42 PM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by fanoflq View Post
Thank you all.

The reason for asking above questions is that I wanted to use cryptsetup via command line to learn about encryption setup.
Your Welcome-
 
  


Reply



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
how to replace linux mint maya (linux 13) with linux mint qaina (linux 17) thilak348 Linux Mint 7 11-06-2015 12:34 AM
[SOLVED] Edited crypttab and fstab, now system doesn't start. 1937 Linux - Newbie 3 05-04-2012 02:02 PM
Learning /etc/fstab The Godfather Linux - Newbie 13 12-01-2006 06:50 PM

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

All times are GMT -5. The time now is 10:52 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