Hello,
I also faced that issue and that is a very annoying problem because we are a
company and we use LDAP authentication and home directories are mounted via
NFS. Most of the machines still runs on 10.04 and only a few have 12.04.
The problem occurs only with 12.04. It happens with lightdm
Good morning,
With GDM, I tried to add silent in the line pam_mkhomedir, and the problem
remains the same.
So I compared the files login and gdm in the /etc/pam.d dir.
I found a difference : in gdm there is two lines that calls
pam_gnome_keyring.so.
By putting the first (the one is used before
I can confirm that the fix works for us as well. Thanks!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/956848
Title:
pam_mkhomedir.so fails to create homedir in precise
To manage notifications
What is happening is pam_mkhomedir is continuing the PAM conversation
and generating an informational message Creating directory '%s'.
LightDM is incorrectly assuming the PAM conversation has completed by
this point and doesn't respond to this message.
As a workaround you can set pam_mkhomedir to
Fixed in 1.2.0
** Changed in: lightdm
Status: Triaged = Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/956848
Title:
pam_mkhomedir.so fails to create homedir in precise
To
This bug was fixed in the package lightdm - 1.2.0-0ubuntu1
---
lightdm (1.2.0-0ubuntu1) precise; urgency=low
* New upstream release.
- Backup .xsession-errors on login (LP: #951597)
- Handle failures in pam_setcred
- Open log files in append mode (LP: #951597)
- Add
YES!!! IT WORKS! Thank you, Robert!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/956848
Title:
pam_mkhomedir.so fails to create homedir in precise
To manage notifications about this bug go to:
Fabulous work!
Thanks so much Robert.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/956848
Title:
pam_mkhomedir.so fails to create homedir in precise
To manage notifications about this bug go to:
I think I can be a bit more precise than #15; the break occurs at
lightdm version 1.1.6-0ubuntu1 - at least on my 64bit VM. As far as my
tests show, the last version of lightdm to work is
1.1.4.is.1.1.3-0ubuntu3.
That is, if I have an up-to-date precise VM (including lightdm 1.1.9)
and I
I can confirm the problem in precise. Note that lightdm doesn't drop
privileges until after pam_open_session so this should work.
** Changed in: lightdm (Ubuntu Precise)
Status: Confirmed = Triaged
** Changed in: lightdm (Ubuntu Precise)
Status: Triaged = In Progress
--
You
** Changed in: lightdm (Ubuntu)
Importance: Undecided = High
** Changed in: lightdm (Ubuntu)
Assignee: (unassigned) = Robert Ancell (robert-ancell)
** Also affects: lightdm (Ubuntu Precise)
Importance: High
Assignee: Robert Ancell (robert-ancell)
Status: Confirmed
--
You
** Tags added: css-sponsored-p
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/956848
Title:
pam_mkhomedir.so fails to create homedir in precise
To manage notifications about this bug go to:
Same problem here:
lightdm hangs immediately after entering the password and displays a black
screen.
After killing lightdm I can see that the home directory was not created.
Instead this works well when using GDM or a console login.
The bug can be reproduced in this way for a local user: just
We rely on pam_mkhomedir. We're using it with the standard options.
It used to work fine on lightdm, but as of recently, it doesn't.
It works fine with ssh.
This is crucial for us.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
The documentation for pam_open_session says, It should be noted that
the effective uid, geteuid(2). of the application should be of
sufficient privilege to perform such tasks as creating or mounting the
user's home directory for example.
AFAICT, this is contrary to Steve Langasek's assertion that
I managed to narrow the problem to the lightdm package by using lightdm
from oneiric on a precise machine and it seems to work there.
** Package changed: pam (Ubuntu) = lightdm (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Also affects: lightdm
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/956848
Title:
pam_mkhomedir.so fails to create homedir in precise
To manage
I haven't had any luck getting pam_mkhomedir to work with gdm or lightdm
installed
I have attempted to login to both gnome-shell and unity with no luck
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
The state of pam_mkhomdir in other distros:
- ubuntu 10.04 gdm/gnome works
- ubuntu 11.10 lightdm/unity - works
- debian squeeze 6 gdm/gnome - works
- debian testing (wheezy) gdm/gnome - works
- ubuntu 12.04 b1 - lightdm/unity *** doesn't work
- ubuntu 12.04 b1 - gdm/unity *** doesn't work
-
Well, still this is inconsistent - when logging in from tty1 the homedir
gets created without any modifications in Precise.
Do you really intend to break the current pam_mkhomedir? AFAIK it's used
by most of LDAP and NIS instances.
--
You received this bug notification because you are a member
chmod u+s /sbin/mkhomedir_helper does not solve the problem for me...
I still get the black screen when I login to Precise and the home
directory is missing.
The same pam_mkhomedir.so line in /etc/pam.d/common-session on a Lucid
machine works without any problem.
This will cause major problems
On Mon, Mar 19, 2012 at 09:47:13AM -, Bolesław Tokarski wrote:
Do you really intend to break the current pam_mkhomedir?
No, as I said I don't know how it was working for you *before* this
either.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
What do you mean by that? Should I use some other pam section for
pam_mkhomedir? Or you mean that pam_mkhomedir doesn't make sense at all?
If common_session is run as the user, then why does it *still* work in
text mode?
--
You received this bug notification because you are a member of Ubuntu
I checked again and the manpage for it shows it should be in the session
modules. See examples in
http://manpages.ubuntu.com/manpages/maverick/man8/pam_mkhomedir.8.html
You are puzzling me.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
** Attachment added: x-0.log
https://bugs.launchpad.net/ubuntu/+bug/956848/+attachment/2880226/+files/x-0.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/956848
Title:
pam_mkhomedir.so fails
** Attachment added: x-0-greeter.log
https://bugs.launchpad.net/ubuntu/+bug/956848/+attachment/2880227/+files/x-0-greeter.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/956848
Title:
** Package changed: ubuntu = pam (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/956848
Title:
pam_mkhomedir.so fails to create homedir in precise
To manage notifications about this bug go
** Attachment added: /var/log/lightdm/lightdm.log
https://bugs.launchpad.net/bugs/956848/+attachment/2880223/+files/lightdm.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/956848
Title:
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: pam (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/956848
Title:
In recent versions there's an /sbin/mkhomedir_helper that's supposed to
do the directory creation work; but the manpage indicates that it exists
in support of selinux rather than for this issue. You *may* be able to
work around the problem locally by running 'sudo chmod u+s
Session modules are normally invoked after the application has changed
uids to that of the target user. Frankly, I don't know how
pam_mkhomedir would have worked *prior* to precise either.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
31 matches
Mail list logo