LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-27-2015, 02:32 PM   #1
Youmu
Member
 
Registered: Oct 2014
Distribution: Slackware 14.1 64x
Posts: 53

Rep: Reputation: Disabled
ecryptfs and PAM module on slack64-14.1


Hi there! I have a question.

Recently I've set up a home folder encrypting environment using ecryptfs-utils from there https://github.com/conraid/SlackBuil...ecryptfs-utils
Everything is working, I can manually mount my folders. But slackware lacks PAM module to mount homedir on startup.
So the question is: how can I implement the missing functionality?

Thanks in advance.
 
Old 09-27-2015, 03:11 PM   #2
Emphyrio
LQ Newbie
 
Registered: Sep 2015
Distribution: OpenSUSE
Posts: 7

Rep: Reputation: Disabled
I was wondering the same thing...
 
Old 09-28-2015, 07:40 AM   #3
WoefulNarvik
Member
 
Registered: Apr 2012
Distribution: Slackware, Salix
Posts: 41

Rep: Reputation: Disabled
ivandi has done some work with PAM and Slackware. If you do a search you should find it. Hopefully it will get you going on the right direction.
 
Old 09-28-2015, 10:23 AM   #4
Emphyrio
LQ Newbie
 
Registered: Sep 2015
Distribution: OpenSUSE
Posts: 7

Rep: Reputation: Disabled
if it can be done w/o pam that's also ok? (i.e. automatically mount on login and unmount on logout)
 
Old 09-28-2015, 12:07 PM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Slackware does not have PAM support included, and it currently shows no signs of being added (although, there could be a lot of work going on with it behind the scenes).

As WoefulNarvik mentioned, forum member ivandi has done a great deal of work getting PAM worked into Slackware, however, it might only be working for Slackware-current, and I don't think he has packages available (which means you'd need to use his slackbuild scripts to build it yourself). His site is blocked at my work, so you'd have to find out for yourself.

The thread discussing it is here, and the site hosting the slackbuilds is here or here.

Good luck

Last edited by bassmadrigal; 09-28-2015 at 01:34 PM. Reason: Fixed url closing tag
 
Old 09-28-2015, 01:06 PM   #6
Youmu
Member
 
Registered: Oct 2014
Distribution: Slackware 14.1 64x
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Slackware does not have PAM support included, and it currently shows no signs of being added (although, there could be a lot of work going on with it behind the scenes).

As WoefulNarvik mentioned, forum member ivandi has done a great deal of work getting PAM worked into Slackware, however, it might only be working for Slackware-current, and I don't think he has packages available (which means you'd need to use his slackbuild scripts to build it yourself). His site is blocked at my work, so you'd have to find out for yourself.

The thread discussing it is [url=http://www.linuxquestions.org/questions/slackware-14/pam-kerberos-and-ads-for-slackware-current-call-for-testing-4175517619/]here]/url], and the site hosting the slackbuilds is here or here.

Good luck
As I can see getting all this working will take _very_ long time.

Some questions:
1. As I can see there are several directories like samba, bind, audit and etc. Are all this stuff really needed to just log in with PAM? Or I can just install Linux-PAM package?
>>His site is blocked at my work, so you'd have to find out for yourself.
2. Why not using proxy? Here is a proxified page of Linux-PAM package:
http://010101.pro-4u.com/browse.php?...FNLw%3D%3D&b=5

Thanks!
 
Old 09-28-2015, 01:33 PM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
1. I've never had a need to dive into this, so I don't know. You might ask in the thread I linked to (I realize now I botched the link, but here is the link again, and I've fixed the other postas well).

2. Believe me, I've tried just about everything to get around my workplace restrictions. The proxy site you provided is no exception. Sometimes I can use Google or archive.org's cache feature, but even then, sometimes they are still blocked (as it was with his page). I was too lazy to dig into it on my phone.
 
Old 09-28-2015, 02:50 PM   #8
ivandi
Member
 
Registered: Jul 2009
Location: Québec, Canada
Distribution: CRUX, Debian
Posts: 528

Rep: Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866
Quote:
Originally Posted by Youmu View Post
As I can see getting all this working will take _very_ long time.

Some questions:
1. As I can see there are several directories like samba, bind, audit and etc. Are all this stuff really needed to just log in with PAM? Or I can just install Linux-PAM package?
For minimal support you need only Linux-PAM and recompiled shadow. Then you can follow the ArchWiki to setup auto mounting.

If your system starts in runlevel 4 you will need a PAM enabled display manager. Take a look at lightdm.

No need to use the build system. Download build_functions.sh. Set BUILD_FUNCTIONS in your environment to point to it.


Cheers
 
1 members found this post helpful.
  


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
Perl module Authen::PAM needed for PAM is not installed keymoo Linux - Server 4 01-19-2013 01:12 PM
[ECRYPTFS] ecryptfs_init_miscdev: Error whilst attempting to open [/dev/ecryptfs] nitinarora Linux - Kernel 0 03-22-2010 05:36 AM
PAM module:passwd:- how many character validate by pam library amit_pansuria Linux - General 3 10-21-2008 01:19 AM
Is there any PAM module can do this ? dmak168 Linux - Security 2 09-02-2008 11:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:53 AM.

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