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

learn more… | top users | synonyms

321
votes
11answers
298k views

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 ...
64
votes
9answers
10k views

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 ...
44
votes
4answers
469k views

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

Before I screw up something, when login using $ mysql -u root -p, and show databases: +--------------------+ | Database | +--------------------+ | information_schema | | mysql |...
35
votes
5answers
28k views

Elevated command line prompt can't access shared drives in Windows 7

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 ...
29
votes
3answers
7k views

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 ...
29
votes
7answers
104k views

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 ...
21
votes
5answers
23k views

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 ...
19
votes
6answers
47k views

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 a " you do not have sufficient privilege to perform this operation" message. I used the same ...
18
votes
3answers
14k views

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. ...
16
votes
3answers
54k views

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 ...
15
votes
4answers
59k views

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 ...
13
votes
3answers
9k views

Change EUID of running process

On Linux, how can I change EUID of running process from command line (provided I have root access)?
13
votes
4answers
8k views

How to install Jenkins on Windows Server 2012

This may sound like a trivial question but here is what is happening: I grab the latest version of Jenkins as native installer for Windows (1.491 in my case) I set up a Windows Server 2012 (official ...
12
votes
3answers
14k views

How can I install DropBox without root privileges?

Is it possible to install Dropbox without root privileges in Linux? I've tried to install it at my university, using the sources found here, but I seem to need to enter the root password (which of ...
9
votes
1answer
278 views

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 ...
9
votes
2answers
20k views

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. ...
8
votes
4answers
39k views

What is 'Run as Administrator' in Windows 7? [duplicate]

On my Windows 7 machine, I am an administrator. I see, when I right click an app, it has an option Run as Administrator. What does this mean? Also, if I am logged in as administrator, what ...
8
votes
2answers
14k views

How do I configure my application to run as administrator automatically?

I have created a patch file with an executable inside of it using Winrar SFX feature. After executing the SFX file and the extraction ends up, my executable file will never run because it doesn't have ...
8
votes
2answers
2k views

ubuntu and privilege elevation in i3wm

I use i3wm (www.i3wm.org) as the window manager for ubuntu 11.10 x64. it seems that whatever piece of magic that controls elevation is not functioning properly. It's not an issue with i3wm perse, but ...
8
votes
4answers
325 views

How to prevent dirty hands from touching my cookies?

According to my other question, it seems that my cookies are unprotected. (I should have known that as there was a time I just manually deleted cookies from Internet Temporary Files.) So to make my ...
7
votes
4answers
10k views

Run a program without administrative privileges in Windows 7 [duplicate]

My account in Windows 7 is an administrator account. When I open the Run box (WinKey + R), I am warned, "This task will be created with administrative privileges." Is there any way to run programs ...
7
votes
4answers
8k views

“login” to phpMyAdmin via different users

I want a non-techie (marketing/sales) to have access to the data I manage regularly via phpMyAdmin: without any ability to alter/insert/delete without me having to build a special database-viewer-...
6
votes
3answers
59k views

How to execute a command with admin privileges and access to files of the logged in user?

I have some problems understanding sudo. I am logged in on a terminal as an non-admin/non-root user. This "normal" user is not in the sudoers file (and shouldnt be, in my opinion). Now I try to ...
6
votes
5answers
24k views

Windows Store not recognizing Admin privileges

I'm trying to upgrade a new Dell laptop with Windows 8 to Windows 8.1. Using the default user logon created at initial boot, trying to upgrade to 8.1 via the Windows Store, I get the following error: ...
6
votes
2answers
3k views

What is the correct way to prevent non-root users from issuing shutdowns or reboots

Let's say that you have set up a multi-seat system for use in a school or library, allowing GDM to launch multiple X sessions to run simultaneously with different users/keyboards/monitors. By default ...
6
votes
1answer
5k views

What is the difference between the Administrator account and a User account that has administrator privilage?

The Backstory Wife has a multiplayer Minecraft Server that she runs Tectonicus (a map generating program) against. Tectonicus is set up to use OpenGL (aparently ONLY OpenGL). When attempting to run ...
5
votes
3answers
3k views

Automatically execute bash script under the privileges of another user

Is there a way to execute a bash script under the privileges of another user (automatically)? I think "sudo" is the right way, but I don't know how to automate the process. E.g. I want to run ...
5
votes
3answers
28k views

Install Silverlight for Mozilla Firefox without administrative privileges

Is there any way I can install silverlight plugin for Firefox without admin privileges? For Flash there's an .xpi extension so that I can install it on Firefox Portable.
5
votes
4answers
3k views

as a domain member, 'run with administrative privileges' always asks for hostname

Since we run Windows 7-clients in our windows-server domain I have a specific use case that has become more inconvenient: On the client-site, being logged-on as an user with restricted rights and ...
5
votes
3answers
5k views

Starting services in batch file on windows 7

I have a fairly simple batch file which does just one thing - "net start myservice". This batch file gets shortcut-ed in a program group by installer so that users can simply click on the icon and get ...
5
votes
1answer
2k views

Administrator account vs elevated privileges: what's the difference?

What's the difference between an Administrator account and elevated privileges? What types of things Admin account grants and where do you need elevated privileges? (i.e. run as administrator)
5
votes
1answer
2k views

Can I make a shell context action run as administrator?

I like to add a shell context menu for registering .dll files using the command %windir%Microsoft/Framework/v2.0.50727/regasm.exe "%1" /codebase which used to work fine in XP. However in Windows ...
4
votes
2answers
111 views

What does gate mean in the Multics operating system?

I read Multics operating system. In the segment descriptor word (book) there is one part for number of gates for the segment. What does gate mean? I know the process can enter a higher-privileged ring ...
4
votes
1answer
4k views

Grant MySQL user ability to create databases, and only allow them to access those databases

Is it possible to grant a MySQL user the privileges to CREATE new databases, such that they have full access to the databases they create (including the ability to DROP those databases). But other ...
4
votes
2answers
8k views

Ubuntu: limiting user account only to access his home dir

I just created new user account, but the new user is able to access all the directories structure (including other's home directories). I'd like to limit the user to access ONLY his home directory (...
4
votes
1answer
2k views

Java Plugin a huge security risk? How to preseve Java plugin from privilege escalation?

Installing a regular Java plugin is IMHO a real security risk for non-IT people. Normally Java applets run in a sandbox and the applet cannot do anything harmful to your computer. If an applet, ...
3
votes
2answers
9k views

How to run specific program with root privileges (Ubuntu OS) when no sudo user log into system?

How do I run a specific program with root privileges (Ubuntu OS) when no sudo user is logged into the system? The program needs root privileges to function correctly. A normal user shouldn't be able ...
3
votes
3answers
13k views

OpenVPN client without administrator rights on Win7

My parents use a Win7 laptop. I have set it so that they are not administrators of the device, only I am. I have installed OpenVPN for them to access the home network resources when they are out. The ...
3
votes
2answers
147 views

opening a file with admin priviliges in windows

There is a file context.xml in the path : C:\Program Files\Apache Software Foundation\Apache Tomcat 7.0.22\conf\context.xml I have to edit this file. But i am unable to do so.When i try to save the ...
3
votes
2answers
97 views

How to list windows privileges for any user

I am trying to write a script to list the privileges (eg SeShutDownPrivilege etc) of all user accounts. I'd prefer it if my script could be run as a standard user, but I can run it as an admin account ...
3
votes
1answer
462 views

How interrupts and privilege levels work?

I'm trying to get a better understanding of how interrupts work (both hardware and software) and the privileges that go with them. If we use the NIC as an example. When the OS creates the IDT, does ...
3
votes
2answers
942 views

Escalating privileges of a program from guest account

Can I esclate privileges of any Windows executable from Guest account to system or administrator? Do I have to edit the registry or use some script?
3
votes
2answers
6k views

Command Prompt - Accessing “Access is Denied” folder

Note: I'm on a Windows computer using command prompt. A network exists where there is a single drive (let's call it C:) and there is a folder for every different user account inside of this drive. ...
3
votes
1answer
35 views

Initialize MySQL database as non-root and run SQL server for testing

I want to do some MySQL-specific testing and need to run a fresh MySQL database as non-root user. I am using Debian Linux and expect one could start the mysql_install_db and other commands as normal ...
3
votes
1answer
340 views

How can I know if an application reads my hardware fingerprint?

I would like to know (for security and privacy reasons) if a certain Windows 7 desktop program actually reads my hardware fingerprint including hard drive serial number, CPU serial number, or any ...
2
votes
3answers
10k views

What privileges do I need to disable network adapter in Windows 7?

From time to time my Lenovo notebook has problem to connect to wifi network after waking from stand by or hibernation. The only fix (besides reboot) is to disable and enable wifi network adapter. ...
2
votes
3answers
4k views

Can't Delete Old Windows Directory

I got a new SSD drive for my computer, and have installed Windows on this drive. This left an old Windows directory on my old normal drive. I am now attempting to delete this old Windows directory, ...
2
votes
2answers
10k views

How do I get full administrative privileges in Windows 7? [duplicate]

Possible Duplicate: How to run Windows 7 Explorer shell with Administrator Privileges by default I recently reinstalled Windows 7, and I have this issue that whenever I try to write a file to ...
2
votes
2answers
963 views

Help installing postgres in ubuntu

I'm trying to install postgresql in the latest ubunutu, and I'm following these instructions. When I sudo -u postgres psql postgres I get this error: could not change directory to "/home/james" I'd ...
2
votes
1answer
1k views

Allowing non-admins to run programs as admins

How can I enable non-admin users to run a certain application (in my case, a script) with admin permissions on Windows XP? This would be similar to the setuid bit on *nix.