Kodi Community Forum

Full Version: Change Kodi user in Ubuntu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have installed kodi on Linux Ubuntu 16.04 LTS. After installing I have the usual ~/.kodi folder for user "user1" and kodi runs with no problems. Is it possible to either:
1.) Change the user from "user1" to "user2"
2.) Create a new user "user2" for kodi
I then want to be able to run kodi under the new user "user2".
Is any of this possible?
(To be clear "user2" already exists on my Ubuntu system.)
I've moved your post to the Linux area, more users that understand the dilemma are likely to respond.

I should mention that Profiles (wiki) might be what you're looking for.
Yes, it is possible.

just copy the content of /home/user1/.kodi to /home/user2/
 
Code:
sudo cp /home/user1/.kodi /home/user2/
sudo chown -R user2:user2 /home/user2/.kodi

Make sure user2 is in the required groups. You can compare groups with
Code:
sudo groups user1
sudo groups user2
(2022-09-16, 19:27)wastis Wrote: [ -> ]Yes, it is possible.

just copy the content of /home/user1/.kodi to /home/user2/
 
Code:
sudo cp /home/user1/.kodi /home/user2/
sudo chown -R user2:user2 /home/user2/.kodi

Make sure user2 is in the required groups. You can compare groups with
Code:
sudo groups user1
sudo groups user2
make sure to use the recursive flag else it won't copy everything.

Code:
sudo cp -R /home/user1/.kodi /home/user2/