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!

  • @[email protected]
    link
    fedilink
    18 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
      link
      4
      edit-2
      8 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.

    • @[email protected]
      link
      fedilink
      English
      28 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