Using backed up "Home" dir for user "Home" dir in another Computer
by pizzipie from LinuxQuestions.org on (#6FRW5)
Hi,
Using Ubuntu 22.04.1 on two different machines.
I have a backed up 'home' dir from computer 'A' - say 'homeA.bak'.
I have another computer 'B' which already has a 'home' dir for the principle user as set up upon installation , call him 'usrB'.
Now I want to create a new user 'usrB-2' without a 'home' dir and then create a 'home' dir for 'usrB2' which will be 'homeA.bak'.
I assume from what I read that 'home' directories are not like 'regular' directories' in that they contain other files in them that make them 'home' directories. ie: you just can't make a directory called 'home' and copy backed up files to it and have it act like a 'home' directory.
Can someone tell me how to do this properly? Thanks in advance,
R
Using Ubuntu 22.04.1 on two different machines.
I have a backed up 'home' dir from computer 'A' - say 'homeA.bak'.
I have another computer 'B' which already has a 'home' dir for the principle user as set up upon installation , call him 'usrB'.
Now I want to create a new user 'usrB-2' without a 'home' dir and then create a 'home' dir for 'usrB2' which will be 'homeA.bak'.
I assume from what I read that 'home' directories are not like 'regular' directories' in that they contain other files in them that make them 'home' directories. ie: you just can't make a directory called 'home' and copy backed up files to it and have it act like a 'home' directory.
Can someone tell me how to do this properly? Thanks in advance,
R