Re: useradd to create home directory?

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

 



JerryWilliams wrote:
I am looking for a way to create the home directory and populate it with the shell profiles.

Normally I would use useradd, but it breaks when you use NIS or LDAP or winbind.

It would be nice if useradd had an option that would say yes I know this account exits in LDAP, just make the home directory and fill it with the normal stuff and don’t put anything in /etc/passwd or /etc/shadow.

I guess I am asking for an enhancement to useradd.

Is there a better way to do this?

You might want to investigate pam_mkhomedir.

Or setup an NFS filer and look into automount.

rob

<<attachment: smime.p7s>>

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux