Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PAM + Encfs Encryption ~~~ Please help!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
kisame
n00b
n00b


Joined: 04 Nov 2017
Posts: 1

PostPosted: Sat Nov 04, 2017 11:48 am    Post subject: PAM + Encfs Encryption ~~~ Please help! Reply with quote

Hey guys,

So on my home folder, /home/kisame was set up with encfs to be linked with /home/.encfs/kisame, and it works fine. Except, when I tried to set up PAM_MOUNT to automount it on login, but no dice. On Gentoo Linux.
Here are some configs :

/etc/pam.d/login
Code:
    auth       required     /lib/security/pam_securetty.so
    auth       required     /lib/security/pam_stack.so service=system-auth
    auth       required     /lib/security/pam_nologin.so
    auth       optional     /lib/security/pam_mount.so use_first_pass
    auth       include   system-local-login
    account    include   system-local-login
    password   include   system-local-login
    session    optional    pam_lastlog.so
    session    include   system-local-login
    session    optional     /lib/security/pam_mount.so



/etc/pam.d/system-login
Code:

    auth      required   pam_tally2.so onerr=succeed
    auth      required   pam_shells.so
    auth      required   pam_nologin.so
    auth          optional      pam_mount.so try_first_pass
    auth      include      system-auth
    account      required   pam_access.so
    account      required   pam_nologin.so
    account      include      system-auth
    account      required   pam_tally2.so onerr=succeed
    password      optional      pam_mount.so
    password   include      system-auth
    session         optional        pam_loginuid.so
    session      required   pam_env.so
    session      optional   pam_lastlog.so silent
    session       optional      pam_mount.so
    session      include      system-auth
    session      optional   pam_motd.so motd=/etc/motd
    session      optional   pam_mail.so


pam_mount volume entry
Code:
<volume fstype="encfs" path="encfs#/home/.encfs/kisame" mountpoint="/home/kisame" options="nonempty,user=kisame" />


verdict
My hypothesis is that my tty login isnt using pam at all, for in /var/log/auth.log not a word about pam is shared. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum