Re: LDAP without home

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jon Miller schrieb:
> On Thu, Oct 22, 2009 at 8:00 AM, Stefan Kuhne <stefan.kuhne@xxxxxxx> wrote:
>> Jon Miller schrieb:

Hello,

>>> Do you have some requirement that you can _not_ have a home directory
>>> for your users? If not, you can simply use the pam_mkhomedir module
>>> which, as the name implies, will create your home directory upon first
>>> login.
>>>
>> I've modify mkhomedir.
>> But on logon i'am on /, because of there is noch home entry.
>>
>> normal:
>> root:x:0:0:root:/root:/bin/bash
>>
>> my output:
>> root:x:0:0:root::/bin/bash

> Sorry, I misunderstood the problem. Looks like it's not really a pam
> issue but rather your root account's home directory isn't specified
> correctly. Typically root's home dir is just "/root". Assuming you
> have such a directory, you should be able to fix root's account via
> the command "/usr/sbin/usermod -d /root root".
> 
it is by all users in LDAP, root was an example line.
I will modify the data when it is catched from LDAP.
I think in ldap module i should search but this code is complex.

Regards,
Stefan Kuhne

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux