LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   libpam-mount gdm shutdown reboot problem (http://www.linuxquestions.org/questions/debian-26/libpam-mount-gdm-shutdown-reboot-problem-345737/)

pohl886 07-22-2005 12:39 PM

libpam-mount gdm shutdown reboot problem
 
Hello,

I am running Debian Sarge (3.1) on an IBM Thinkpad R50 Laptop. I am mapping my university home directory (SMB) to a subfolder in my unix home directory with libpam-mount each time I log into my computer (GDM). When I log off, my university home directory gets automatically disconnected.

The weired problem I have is that shutting down and rebooting from the GDM welcome screen doesn't work when the libpam-mount module is enabled and "Login Screen Setup -> Security -> Secure Action Menu" is enabled. GDM restarts instead of shutting down or rebooting.

However, when disabling "Secure Action Menu" shutdown and reboot as an ordinary user works fine with libpam-mount enabled. Once logged in, shutdown and reboot within a Gnome session works also as expected.

---

# /etc/pam.d/common-account :
account required pam_unix.so

# /etc/pam.d/common-auth:
auth required pam_unix.so nullok_secure
@include common-pammount

# /etc/pam.d/common-pammount:
auth optional pam_mount.so use_first_pass
session optional pam_mount.so use_first_pass

# /etc/pam.d/common-password
password required pam_unix.so nullok obscure min=4 max=8 md5

# /etc/pam.d/common-session
session required pam_unix.so
@include common-pammount

# /etc/pam.d/gdm
auth requisite pam_nologin.so
auth required pam_env.so
@include common-auth
@include common-account
session required pam_limits.so
@include common-session
@include common-password

---

Any suggestions are welcome.
Alexander


All times are GMT -5. The time now is 07:28 PM.