useradd to create home directory?

JerryWilliams jwilliam at xmission.com
Thu May 1 23:06:52 UTC 2008


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

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/devel/attachments/20080501/ad18fafe/attachment-0001.html 


More information about the devel mailing list