• kamenLady.@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I sometimes get into some kind of fight, if I’m not really logged in as root and have to do things the sudo way. I’m not so deep in Linux, so I’ll ask bluntly:

    Is it always a user error if you have trouble doing things with sudo or is it possible that the way sudo was configured for your user makes your life hard?

    Over the years i had lots of clients, where i would be given sudo rights and the experiences doing so were pretty diverse, ranging from “feeling at home and just typing away” to “am i fucking crazy? Nothing goes as expected”

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I really depends on what you are trying to do. Most things should not need root so if you find yourself using sudo all the time you may be over using it.

      Maybe you messed up permissions?

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

        The machines were always set up by the client’s team, mostly not being anymore onboard. I only got the server address + credentials, so i could check for web related issues on them. I am experienced enough to know how inexperienced i am with things other than my area of work.

        Sometimes they had issues on machines they only had credentials to, but no one to fix. The main sudo trouble i sometimes had, was when trying to work on websites, that were all created by root …

        • Possibly linux@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 months ago

          Yeah that’s sounds like you need to onboard a proper sysadmin with Linux experience. I’m sure there is more to the story though