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?

 

Thanks in advance!

 

Jerry Williams