• mexicancartel@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 months ago

    If you own your own bank, then i think you login as the one with full previlages. Yes when doing administrator things, you have to use sudo. The problem with root with sudo is, you authenticate as a user, then gain full permission from root, i.e analogous to login in to bank with full previlages.

    As a person who need to run sudo command its better to just verify yourself as root user to gain “full access”. I’m not saying about partial previlages. That is i just need a script which is just su -c with environment variables being copied

    • theshatterstone54@feddit.uk
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      I see where you’re coming from, but in enterprise environments, you have admin accounts and root login is disabled for security purposes.