Privilege (computing)

In computing, privilege is defined as the delegation of authority to perform security-relevant functions on a computer system.[1] A privilege allows a user to perform an action with security consequences. Examples of various privileges include the ability to create a new user, install software, or change kernel functions.

Users who have been delegated extra levels of control are called privileged. Users who lack most privileges are defined as unprivileged, regular, or normal users.

Theory

Privileges can either be automatic, granted, or applied for.

An automatic privilege exists when there is no requirement to have permission to perform an action. For example, on systems where people are required to log into a system to use it, logging out will not require a privilege. Systems that do not implement file protection - such as MS-DOS - essentially give unlimited privilege to perform any action on a file.

A granted privilege exists as a result of presenting some credential to the privilege granting authority. This is usually accomplished by logging on to a system with a username and password, and if the username and password supplied are correct, the user is granted additional privileges.

A privilege is applied for by either an executed program issuing a request for advanced privileges, or by running some program to apply for the additional privileges. An example of a user applying for additional privileges is provided by the sudo command to run a command as superuser (root) user, or by the Kerberos authentication system.

Modern processor architectures have multiple CPU modes that allows the OS to run at different privilege levels. Some processors have two levels (such as user and supervisor); i386+ processors have four levels (#0 with the most, #3 with the least privileges). Tasks are tagged with a privilege level. Resources (segments, pages, ports, etc.) and the privileged instructions are tagged with a demanded privilege level. When a task tries to use a resource, or execute a privileged instruction, the processor determines whether it has the permission (if not, a "protection fault" interrupt is generated). This prevents user tasks from damaging the OS or each other.

In computer programming, exceptions related to privileged instruction violations may be caused when an array has been accessed out of bounds or an invalid pointer has been dereferenced when the invalid memory location referenced is a privileged location, such as one controlling device input/output. This is particularly more likely to occur in programming languages such as C, which use pointer arithmetic or do not check array bounds automatically.

Criticism

Mark Miller has critiqued the framing of privilege as being poorly defined and hard to measure, and suggested that authority can be defined as the set of things a program can do, which is more helpful.[2]

Unix

On Unix-like systems, the superuser (commonly known as 'root') owns all the privileges. Ordinary users are granted only enough permissions to accomplish their most common tasks. UNIX systems have built-in security features. Most users cannot set up a new user account nor do other administrative procedures. The user “root” is a special user, something called super-user, which can do anything at all on the system. This high degree power is necessary to fully administer a UNIX system, but it also allows its user to make a mistake and cause system problems.

Unprivileged users usually cannot:

  • Adjust kernel options;
  • modify system files, or files of other users.
  • change the ownership of any files;
  • change the runlevel (on systems with System V-style initialization);
  • change the file mode of any files;
  • adjust ulimits or disk quotas;
  • start, stop and remove daemons;
  • signal processes of other users;
  • create device nodes;
  • create or remove users or groups;
  • mount or unmount volumes (although it is becoming common to allow regular users to mount and unmount removable media, such as compact discs - this is typically accomplished via FUSE);
  • execute the contents of any sbin/ directory (although it is becoming common to simply restrict the behavior of such programs when executed by regular users);
  • bind ports below 1024.

Windows NT

On Windows NT-based systems, privileges are delegated in varying degrees. These delegations can be defined using the local security policy manager (secpol.msc). The following is an abbreviated list of the default assignments:

  • 'NT AUTHORITY\System' is the closest equivalent to the Superuser on Unix-like systems. It has many of the privileges of a classic Unix superuser (such as being a trustee on every file created);
  • 'Administrator' is one of the closest equivalents to the superuser (root) on Unix-like systems. However, this user cannot override as many of the operating system's protections as the superuser can;
  • members of the 'Administrators' group have privileges almost equal to 'Administrator';
  • members of the 'Power Users' group have the ability to install programs and backup the system.
  • members of the 'Users' group are the equivalent to unprivileged users on Unix-like systems.

Windows defines a number of administrative privileges[3] that can be assigned individually to users and/or groups. An account (user) holds only the privileges granted to it, either directly or indirectly through group memberships. Upon installation a number of groups and accounts are created and privileges are granted to them. However, these grants can be changed at a later time or though a group policy. Unlike Linux, no privileges are implicitly or permanently granted to a specific account.

Some administrative privileges (e.g. taking ownership of or restoring arbitrary files) are so powerful that if used with malicious intent they could allow the entire system to be compromised. With user account control (on by default since Windows Vista) Windows will strip the user token of these privileges at login. Thus, if a user logs in with an account with broad system privileges, he/she will still not be running with these system privileges. Whenever the user wants to perform administrative actions requiring any of the system privileges he/she will have to do this from an elevated process. When launching an elevated process, the user is made aware that his/her administrative privileges are being asserted through a prompt requiring his/her consent. Not holding privileges until actually required is in keeping with the principle of least privilege.

Elevated processes will run with the full privileges of the user, not the full privileges of the system. Even so, the privileges of the user may still be more than what is required for that particular process, thus not completely least privilege.

The DOS-based Windows ME, Windows 98, Windows 95 and previous versions of non-NT Windows only operated on the FAT filesystem, did not support filesystem permissions[4] and therefore privileges are effectively defeated on Windows NT-based systems that do not use the NTFS file system.

Nomenclature

The names used in the Windows source code end in either "privilege" or "logonright". This has led to some confusion about what the full set of all these "rights" and "privileges" should be called.

Microsoft currently uses the term "user rights".[5] In the past some other terms have also been used by Microsoft, such as "privilege rights"[6] , "logon user rights"[7] and "nt-rights".[8]

See also

References

  1. ^ "Glossary". CSRC. NIST. Archived from the original on 13 February 2019. Retrieved 12 February 2019.
  2. ^ Miller, Mark (2006). Robust Composition: Towards a Unified Approach to Access Control and Concurrency Control. PhD Theses. Johns Hopkins University.
  3. ^ "Privilege constants". Microsoft. 7 April 2022.
  4. ^ "How permissions work". Microsoft. 3 July 2013. You can set permissions at the file level only if the files are stored on an NTFS volume.
  5. ^ "User rights". Microsoft TechNet library. 18 June 2014. Userrights include logon rights and privileges.
  6. ^ "Privilege rights". Microsoft MSDN library. 23 April 2024.
  7. ^ "How to set logon user rights by using the ntrights utility". Microsoft support.
  8. ^ "How to set logon user rights by using the ntrights utility". Microsoft support.

Read other articles:

2024 Philippine television series Encantadia Chronicles: Sang'greTitle cardGenreFantasy dramaBased onEncantadiaby Suzette DoctoleroWritten bySuzette Doctolero Anna Aleta Nadela Jake Somera Ays de Guzman Directed byMark A. ReyesCreative directors R.J. Nuevas Ricky Lee StarringBianca UmaliCountry of originPhilippinesOriginal languageTagalogProductionCamera setupMultiple-camera setupProduction companyGMA Entertainment GroupOriginal releaseNetworkGMA NetworkRelated Encantadia (2005) Etheria: Ang ...

 

Mentha longifolia Klasifikasi ilmiah Kerajaan: Plantae (tanpa takson): Angiospermae (tanpa takson): Eudikotil (tanpa takson): Asteridae Ordo: Lamiales Famili: Lamiaceae Genus: Mentha Spesies: M. longifolia Nama binomial Mentha longifolia(L.) Huds. Mentha longifolia (Inggris: Horse Mintcode: en is deprecated ;[1] syn. M. spicata var. longifolia L., M. sylvestris L., M. tomentosa D'Urv, M. incana Willd.) adalah suatu spesies dalam genus Mentha (mint) yang merupakan tumbuhan asli d...

 

Pour les articles homonymes, voir Prusse (homonymie). Prusse(de) Preußen 1525–1947 Devise Gott mit uns (haut allemand) Le royaume de Prusse au sein de l'Empire allemand en 1871.Informations générales Statut Duché de Prusse (1525-1700) : État vassal du royaume de Pologne (1385-1569) (av. 1569), de la république des Deux Nations (av. 1660), puis État souverain État de Brandebourg-Prusse (1618-1701) : union personnelle d'États impériaux et du duché de Prusse Royaume ...

Berikut daftar Kepala Daerah dan Wakil Kepala Daerah di 11 kabupaten/kota di Maluku adalah: Kabupaten/Kota Foto Bupati/Wali Kota Bupati/Wali Kota Foto Wakil Bupati/Wali Kota Wakil Bupati/Wali Kota Mulai Menjabat Selesai Menjabat(Direncanakan) Ref KabupatenBuruDaftar Bupati/Wakil Bupati Djalaludin Salampessy(Penjabat) 24 Mei 2023 MenungguPemilihan umum Bupati Buru 2024 [1] KabupatenBuru SelatanDaftar Bupati/Wakil Bupati Safitri Malik Soulisa Gerson Eliaser Selsily 22 Juni 2021 31 Desem...

 

JomblangKelurahanNegara IndonesiaProvinsiJawa TengahKotaSemarangKecamatanCandisariKodepos50256Kode Kemendagri33.74.08.1004 Kode BPS3374060003 Luas1,68 km² Jomblang (Jawa: ꦗꦺꦴꦩ꧀ꦧ꧀ꦭꦁ, translit. Jomblang) merupakan sebuah kelurahan di Kecamatan Candisari, Kota Semarang, provinsi Jawa Tengah, Indonesia. Pranala luar (Indonesia) Keputusan Menteri Dalam Negeri Nomor 050-145 Tahun 2022 tentang Pemberian dan Pemutakhiran Kode, Data Wilayah Administrasi Pemerintahan, d...

 

追晉陸軍二級上將趙家驤將軍个人资料出生1910年 大清河南省衛輝府汲縣逝世1958年8月23日(1958歲—08—23)(47—48歲) † 中華民國福建省金門縣国籍 中華民國政党 中國國民黨获奖 青天白日勳章(追贈)军事背景效忠 中華民國服役 國民革命軍 中華民國陸軍服役时间1924年-1958年军衔 二級上將 (追晉)部队四十七師指挥東北剿匪總司令部參謀長陸軍�...

Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: Ahdaf Soueif – berita · surat kabar · buku · cendekiawan · JSTOR Ahdaf SoueifLahir(1950-03-23)23 Maret 1950 Kairo, MesirPekerjaanNovelisKebangsaan Mesir Ahdaf Soueif (23 Maret 1950 –) adalah seorang no...

 

この記事は検証可能な参考文献や出典が全く示されていないか、不十分です。出典を追加して記事の信頼性向上にご協力ください。(このテンプレートの使い方)出典検索?: コルク – ニュース · 書籍 · スカラー · CiNii · J-STAGE · NDL · dlib.jp · ジャパンサーチ · TWL(2017年4月) コルクを打ち抜いて作った瓶の栓 コルク(木栓、�...

 

豪栄道 豪太郎 場所入りする豪栄道基礎情報四股名 澤井 豪太郎→豪栄道 豪太郎本名 澤井 豪太郎愛称 ゴウタロウ、豪ちゃん、GAD[1][2]生年月日 (1986-04-06) 1986年4月6日(38歳)出身 大阪府寝屋川市身長 183cm体重 160kgBMI 47.26所属部屋 境川部屋得意技 右四つ・出し投げ・切り返し・外掛け・首投げ・右下手投げ成績現在の番付 引退最高位 東大関生涯戦歴 696勝493敗...

Immagine di Túpac Yupanqui secondo Guaman Poma de Ayala Túpac Yupanqui (Cusco, 1430 circa – Cusco, 1475 circa) è stato un imperatore inca. Fu il decimo sovrano Inca, il quinto della dinastia Hanan. Da quando il Tahuantinsuyo divenne un impero vero e proprio, si può considerare il secondo imperatore. Indice 1 Origini 2 Coreggenza 3 Conquiste da coreggente 3.1 Jauja, Huaillas e Cajamarca 3.2 Regno di Chimù 3.3 Chachapoyas 3.4 Bracamoros e Cañari 3.5 Huancavilcas 3.6 Spedizione oceanica ...

 

Research organisation under Ministry of Home Affairs, Government of India This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Bureau of Police Research and Development – news · newspapers · books · scholar · JSTOR (December 2014) (Learn how and when to remove this message) This article contains content that is w...

 

У этого термина существуют и другие значения, см. Дахау. Дахаунем. Dachau Узники Дахау в момент освобождения лагеря Тип лагерь для политических заключённых Координаты Дата создания 20 марта 1933 Дата ликвидации 29 апреля 1945 Подлагеря Внешние лагеря концентрационного лагеря ...

Lok Sabha constituency in Tamil Nadu ChidambaramLok Sabha constituencyChidambaram constituency, post-2008 delimitationConstituency detailsCountryIndiaRegionSouth IndiaStateTamil NaduAssembly constituenciesKunnam Ariyalur Jayankondam Bhuvanagiri Chidambaram KattumannarkoilEstablished1957Total electors14,79,108[1]ReservationSCMember of Parliament18th Lok SabhaIncumbent Thol. Thirumavalavan PartyViduthalai Chiruthaigal KatchiElected year2019 Chidambaram is a Lok Sabha (Parliament of Ind...

 

American engineer and businessmanFor the Canadian First World War flying ace, see Henry John Burden. This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Henry Burden – news · newspapers · books · scholar · JSTOR (June 2019) (Learn how and when to remove this message) Henry BurdenBorn(1791-04-22)April 22, 1791Dun...

 

British Army cavalry regiment 20th HussarsBadge of the 20th HussarsActive1858–1922Country United KingdomBranch British ArmyTypeCavalryRoleLine CavalrySizeOne RegimentNickname(s)Nobody's Own[1]Military unit The 20th Hussars was a cavalry regiment of the British Army. After service in the First World War it was amalgamated with the 14th King's Hussars to form the 14th/20th King's Hussars in 1922. History Early wars The regiment was originally raised in Bengal by the East India Co...

يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (ديسمبر 2018) 92° خط طول 92 غرب خريطة لجميع الإحداثيات من جوجل خريطة لجميع الإحداثيات من بينغ تصدير جميع الإحداثيات من كي...

 

Not to be confused with Oldenburg (city). You can help expand this article with text translated from the corresponding article in German. Click [show] for important translation instructions. Machine translation, like DeepL or Google Translate, is a useful starting point for translations, but translators must revise errors as necessary and confirm that the translation is accurate, rather than simply copy-pasting machine-translated text into the English Wikipedia. Do not translate text that app...

 

American poet George E. Woodberry George Edward Woodberry, Litt. D., LL. D. (May 12, 1855 – January 2, 1930) was an American literary critic and poet.[1] Biography Education Woodberry was born in Beverly, Massachusetts, on May 12, 1855. The Woodberrys or Woodburys—various spellings of the name exist—immigrated early and, since settlement took root on the North Shore, have been native to Beverly and neighboring seaport towns. Receiving his preparation at the Phillips Exeter Acade...

سباق يوروميتروبول 2019 تفاصيل السباقسلسلة79. سباق يوروميتروبولمنافسةطواف أوروبا للدراجات 2019 1.HC‏التاريخ5 أكتوبر 2019المسافات176٫72 كمالبلد بلجيكانقطة البدايةلا لوفييرنقطة النهايةطرنايالفرق21عدد المتسابقين في البداية147متوسط السرعة46٫539 كم/سالمنصةالفائز بيت اليجارت (سبورت ف�...

 

King of the Franks in Austrasia, Neustria, and Burgundy Dagobert IKing of the FranksContemporary effigy of Dagobert from a gold triensKing in AustrasiaReign623–634PredecessorChlothar IISuccessorSigebert IIIKing in Neustria and BurgundyReignOctober 629 – 19 January 639PredecessorChlothar IISuccessorClovis IIBornc. 605/603Died19 January 639 (aged 35-36)Épinay-sur-SeineBurialSaint Denis Basilica, ParisSpouse Gormatrude Nanthild Wulfegundis Berchildis Ragnetrude (concubine) Issue Sigebert II...