Article 5PNFK Cloning a user : strange behaviour

Cloning a user : strange behaviour

by
rapetou
from LinuxQuestions.org on (#5PNFK)
Hello everyone,

I've just cloned a user now, to do it I created a new user and erase all it's home, then copy the source user to the dest, I did a chown -R ...,
I'm familliar with this.

But in this case, on a Debian Bullseye I have something strange :
Logged with my new user, each time I open a terminal, it comes in the home directory of the source user, same for Libreoffice and all programs.
I checked /etc/passwd and the correct home directory is specified;

If in a terminal I just type cd, it comes in the new user home. normal.

Do you have an idea of what happend please ?latest?d=yIl2AUoC8zA latest?i=zpui-WTMdeU:XP64CLYEktg:F7zBnMy latest?i=zpui-WTMdeU:XP64CLYEktg:V_sGLiP latest?d=qj6IDK7rITs latest?i=zpui-WTMdeU:XP64CLYEktg:gIN9vFwzpui-WTMdeU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments