Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-19-2004, 03:45 PM   #1
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
pam mount in slackware 10

Hey guys.

i have an encrypted file which i need to mount on my users home directory.
because things like .bash_profile, and .kde are stored on the encrypted directory
i need it to be mounted before the logged in user needs to access .kde (which is instantly because of runlevel 4 as default)

anyways... here is how the mount works...

losetup makes a simple (non encrypted) loop called /dev/loop1 which points to /home/user.encrypted

then a script uses encrypted mapping to map /dev/mapper/home to /dev/loop1

(i know about cryptoloop and loop-aes, but i prefere this method)

i am told that PAM-MOUNT can take my user's password and use it to mount the encrypted home partiton in time for startup stuff needing things like .bash_profile and .kde.

however i cannot find any how-to or guides on the topic.

i an using slackware 10.

does anyone know how this is done ?
or know of a good tutorial ?
Old 08-06-2004, 08:37 AM   #2
Registered: Aug 2004
Location: Leamington Spa, UK
Distribution: Slackware
Posts: 66

Rep: Reputation: 15
You may struggle getting support for PAM in Slackware. To see why, mount you Distro disk 1 and do:

grep -A 14 'n/openssh-3.7.1p2' /mount/cdrom/ChangeLog.txt

To see Patrick's views on PAM (and hence why it's not part of Slackware currently)


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
PAM and Slackware 10.2 darkarcon2015 Slackware 15 10-20-2007 02:32 PM
pam radius auth in slackware ?? Barx Slackware 1 04-30-2005 08:06 AM
does slackware 10 support PAM? joroxx Slackware - Installation 2 11-16-2004 12:06 AM
vsftpd + pam + virtual users - Pam cannot load database file. mdkelly069 Linux - Networking 3 09-22-2004 11:07 PM
Slackware, Samba, Winbind & PAM; Oh My! BulletSponge Slackware 3 06-20-2003 05:01 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:39 PM.

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