I thought I’ll make this thread for all of you out there who have questions but are afraid to ask them. This is your chance!

I’ll try my best to answer any questions here, but I hope others in the community will contribute too!

  • humbletightband@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    3 months ago

    [interview question]

    Assuming a user is a root, can this user create a file that couldn’t be read or deleted by other roots? …by the same user?

    • ransomwarelettuce@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      3 months ago

      I think the POSIX standard only has one root user, however many users can have root privileges.

      So it’s probably a trick question, however any user even without privilege can make create a file which others can’t, read even the root itself I think not sure though.

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

      There is only one root user. Other users may have root access though. Any user can create files only readable by them, but root user can override all of them, change password of any user etc. For a user having root access, they can do all sorts of things root user does