Re: [Cpu-users] CPU problems after a fresh ldap migration
Brought to you by:
matheny
From: Paul S. <pa...@nf...> - 2003-06-25 07:11:10
|
Alan Harper wrote: > >> >> Also, cpu has the ability to take users (and maybe groups as well) and >> import >> them from your existing flatfiles to your LDAP directory. Just thought >> people >> might want to know that. Good luck. > > How do you do this? Its my preference, the migrationtools scripts have > too much other stuff I dont use The fine cpu-ldap manual reads just fine. i.e. cpu --passfile=/etc/passwd --shadfile=/etc/shadow useradd someuser Using longopts could be a problem if you're using <= 1.3.100. The short version is well tested: cpu -F/etc/passwd -S/etc/shadow useradd someuser If your /etc/cpu.conf points to the correct passwd/shadow file you could even do: cpu -F -S useradd someuser -- ________________________________________________________________ Paul Stevens mailto:pa...@nf... NET FACILITIES GROUP PGP: finger pa...@nf... The Netherlands________________________________http://www.nfg.nl |