• BlueSharkEnjoyer
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    You’ll want a -a on that cp to preserve permissions.

    usermod -l and a symlink is my plan.

    • EmiOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      1 year ago

      Nice plan, I used a symlink to quickly heal fixed paths in configs like

      ln -s /home/NewAffirmingName/ /home/OldName/

      That way if a setting I transferred over is trying to pull a file from /home/OldName/Gamesave instead of ~/Gamesave it will still work… unless it doesn’t recognize symlinks… but for a lot of stuff it has been working.

  • Klara
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    I finally did this earlier today :)

    • EmiOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      Congrats!

      I know I felt pretty awesome when I did it. Infinitely better than what I had previously, not only was my account name dated, but I had a picture of me before I grew my hair out as the account picture…

      I hated it every time it popped up.

  • XeaM
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    1 year ago

    Im happy to say, I have zero proper security practices, 90% of my machines run as root >:3 also CONFIG_MULTIUSER=N is something I have done, so I funny enough cannot relate

    • EmiOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      That’s super cool, I will have to take a look at that later!

  • sheemap@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Bit off topic, but what’s the purpose of the '.[^.]*’ regex there? Wouldn’t a wildcard * character suffice?