copy passwd, group and shadows, ...
I wanna to migrat my linux to the new server(with same distro of linux installed) and i try to copy over the passwd, group, gshadow and shadow files. But when i login as for as new root I got message saying my $home/.dmn file is in correct and ask me to use failsafe session. Besides, it also complain about file should be owned by user and have 644 permission.
How do i correctly copy over these file so i don't have maunally create all user account? Besdies, is anyfile i can copy over for samba user ?
thx in advance