On Thu, Oct 22, 2009 at 8:00 AM, Stefan Kuhne <stefan.kuhne@xxxxxxx> wrote: > Jon Miller schrieb: >> 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". -- Jon Miller _______________________________________________ Pam-list mailing list Pam-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/pam-list