Questions tagged [privileges]

In computing, privilege is defined as the delegation of authority over a computer system. A privilege is a permission to perform an action.

In computing, privilege is defined as the delegation of authority over a computer system. A privilege is a permission to perform an action. The terms "privilege," "permission," and "access" are often used interchangeably in computing circles.

294 questions
516
votes
19 answers

Is there any 'sudo' command for Windows?

I always work on a non-administrator account on my Windows computer. Sometimes I need to install programs which requires administrator access. As I mostly use the Windows command prompt, is there a Windows command to escalate privileges, similar to…
ukanth
  • 10,800
249
votes
7 answers

Allow non-root process to bind to port 80 and 443?

Is it possible to tune a kernel parameter to allow a userland program to bind to port 80 and 443? The reason I ask is I think its foolish to allow a privileged process to open a socket and listen. Anything that opens a socket and listens is high…
jww
  • 12,722
154
votes
8 answers

mysql how to fix Access denied for user 'root'@'localhost'

Before I screw up something, when I login using $ mysql -u root -p, and show databases: +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | performance_schema | | game_data …
Vogelsire
  • 1,643
83
votes
10 answers

Elevated command line prompt can't access shared drives

I map a share from another machine using my user account. I launch an elevated command prompt (cmd.exe, right click, Run as administrator). Navigating to shared drive (Z:) results in: The system cannot find the drive specified Now if I open a non…
73
votes
10 answers

How to run program from command line with elevated rights

Is there a way to run a program or command with elevated rights when I am already in a non-elevated command line? Exactly the same action that would be performed when I click on the program shortcut and select Run as administrator. The runas command…
67
votes
8 answers

Did Windows ever support any hardware architectures other than x86?

Microsoft Windows Internals, 4th Edition says: The architecture of the Intel x86 processor defines four privilege levels, or rings, to protect system code and data from being overwritten either inadvertently or maliciously by code of lesser …
xiaokaoy
  • 822
53
votes
9 answers

Got not sufficient privileges message in CMD when logged on as administrator

I was trying to use mklink command in cmd (I have Windows 7 OS) I was logged on as administrator, but I got: You do not have sufficient privilege to perform this operation. I used the same command in Vista, it worked OK. Any ideas why it does not…
ToZo99
  • 531
50
votes
4 answers

How can I tell whether a process is running with administrator permissions?

I'm using Windows Vista, with UAC enabled. I've installed an application, and the installer required admin privileges. The installer then started the application. I'd like to know if the application is continuing to run with admin privileges. I've…
Tim
  • 1,303
35
votes
7 answers

How to launch Windows Explorer with the privileges of a different domain user?

My Windows 7 computer is connected to a Windows network at the workplace. There are two domains in use on this network, EMPLOYEES and TESTERS. I have logins on both domains, for example EMPLOYEES\Joe and TESTERS\TestJoe. If I am logged into a…
31
votes
8 answers

How do I run the Windows 7 Explorer shell with Administrator Privileges by default?

The Windows 7 shell (Explorer) can be made to run with Administrator privileges by this manual process: Kill Explorer shell by holding down Shift+Ctrl, right-clicking the Shut down button in the Start Menu, and selecting Exit Explorer Start Task…
29
votes
1 answer

Why do x86 CPUs only use 2 out of 4 rings?

So either Linux or Windows based x86 systems only use ring 0 for kernel mode and ring 3 for user mode. Why do processors even distinguish four different rings if they all end up using just two of them anyways? And has this changed on AMD64…
AdHominem
  • 518
26
votes
2 answers

How am I able to shutdown the system when I don't have SeShutdownPrivilege

Users in Windows can be granted various privileges Privileges determine the type of system operations that a user account can perform. An administrator assigns privileges to user and group accounts. Each user's privileges include those granted to…
Ian Boyd
  • 23,066
22
votes
3 answers

Windows - Use Local Service and/or Network Service account for a windows service

I've created a window's service that monitors files on a specific directory on our Windows OS. When a file is detected, the service does some file I/O, reads the files, creates sub-directories, etc. This service also uses database connectivity to…
contactmatt
  • 1,109
20
votes
3 answers

Run MSI files as administrator from a user account

I'm usually logged in as a normal user on my Windows XP box. Sometimes, when I want to install a software update, I don't want to log off and log on again as admin, but I right-click the installer exe and choose "Run as..." to run it from my admin…
20
votes
1 answer

Check if an app is running as admin

How can I check in Windows if application is launched with administrative privileges? I see no corresponding column in Task Manager.
1
2 3
19 20