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

240
votes
10answers
187k 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 ...
22
votes
2answers
6k 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 ...
21
votes
3answers
14k 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 ...
21
votes
7answers
88k 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 ...
16
votes
2answers
159k 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 ...
16
votes
3answers
49k 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 ...
14
votes
6answers
32k 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 ...
14
votes
5answers
12k 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 ...
12
votes
3answers
12k 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 ...
11
votes
3answers
7k views

Change EUID of running process

On Linux, how can I change EUID of running process from command line (provided I have root access)?
10
votes
4answers
5k 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 ...
9
votes
2answers
8k views

Elevated Priviliges for Startup Applications in Vista

Is there any way to configure application that requires administrator privilages (elevation) so it's automatically started with elevated privileges and does not request elevation on every startup? ...
8
votes
4answers
31k 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 ...
8
votes
4answers
34k views

What is 'Run as Administrator' in Windows 7?

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
3answers
4k 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. ...
8
votes
4answers
313 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
7k 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
2answers
8k 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 ...
7
votes
4answers
7k 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 ...
7
votes
2answers
1k 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 ...
6
votes
2answers
1k 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 ...
5
votes
3answers
2k 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
26k 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
2answers
11k 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. ...
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
4k 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 ...
4
votes
3answers
30k 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 ...
4
votes
3answers
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 ...
4
votes
2answers
7k 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, ...
4
votes
5answers
17k 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: ...
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
2answers
108 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
1answer
76 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 ...
3
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)
3
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 ...
3
votes
1answer
227 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
6k 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
2answers
9k 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 ...
2
votes
1answer
962 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.
2
votes
6answers
8k views

“run as administrator” in standard user account

how can I run command prompt as administrator from a standard user account? The "run as" does not appear to work, neither does the CTRL-SHIFT-ENTER trick. I think it is because I am logged in as a ...
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
1answer
716 views

How to fully stop UAC Windows 8

I have a problem, i have a Windows 8 realease Preview. I have UAC turned off always, but for test i switched UAC on (slider up) and restarted my pc, then, i turned it off (slider down) and restarted ...
2
votes
3answers
4k views

Total Commander on Windows 7 with Administrative Privileges

I'm running Total Commander on Windows 7 and I have a problem with the Run as Administrator issue. If I run TC normally, it can't make changes to anything under C:\Program Files\ without asking for ...
2
votes
2answers
400 views

List Partitions in Linux without privileges

Just out of curiosity, is it possible to list partitions in Linux without being root or using sudo?
2
votes
2answers
812 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
7k views

How to install the Google Earth plugin without administrator privileges?

I am developing an application with the GE api and I was wondering if I can get a browser working with Google Earth plugin without installing it from the installer, since at school I can't install ...
2
votes
2answers
5k views

Why don't I have the right to create a text file in my root directory?

When I right-click in a window showing my C:\ directory in Windows 7 and try to create a new text file, I get an error message: "A required privilege is not held by the client." Why is this and how ...
2
votes
2answers
8k views

How to run applications with elevated privilges in Ubuntu using the GUI

Is it possible to launch an application with elevated privilidges using the GUI in Ubuntu 9.04? Maybe something similar to the right-click / "Run as Administrator" in Windows Vista? For example, I ...
2
votes
1answer
277 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 ...