3

I want to be able to log in with different settings but still be the same "user". So, I added a 2nd user with the same UID/GUID but different home directory and now when booting Ubuntu the system just hangs. If I remove the 2nd user from the passwd and shadow files, the system boots just fine.

Videonauth
  • 33,355
  • 17
  • 105
  • 120
  • 2
    So you just learned you can't do that. If you want different settings then create different users. –  Dec 02 '17 at 02:56
  • I want to know why, what's broken so that I can't do that. I used to do that all the time. I can then fix the broken thing.
  • – intel_chris Dec 02 '17 at 07:59
  • I want the second copy to have the exact same file access as the first. Think of it like development and stable branches. I work in the development user most of the time, when I am satisfied that I haven't broken my environment, I copy (using git) over to the stable user. However, if I break the environment, I simply switch to the stable user and haven't lost a thing. I do the same thing with entire versions of ubuntu, 2 partitions per drive, 2 hard drives per laptop, 2 laptops
  • – intel_chris Dec 02 '17 at 08:14