What is the principle of least privilege, and how does the OS enforce it using Access Control Lists or capabilities?

Last updated 5 July 2026

  • Least privilege: each process or user gets only the minimum permissions it needs, limiting damage from bugs or compromise.

  • ACLs are object-centric: each file/resource lists who may do what (e.g. rwx), and the OS checks the requester on access. Used by Unix permissions and Windows ACLs.

  • Capabilities are subject-centric unforgeable tokens naming an object and allowed operations, easy to delegate but hard to revoke. Linux capabilities(7) split root's power into fine-grained rights.

  • https://medium.com/@avinashkumar808482/operating-system-interview-questions-2026-0db6b4674980
  • https://lmskkhsou.in/eservices/e-Resources/Resources/NEP%20Syllabus%202024/core/BCA_Syllabus.pdf
All Operating Systems interview questions