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.

Filter by
Sorted by
Tagged with
509 votes
19 answers
867k 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 ...
ukanth's user avatar
  • 10.7k
228 votes
7 answers
305k 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. ...
jww's user avatar
  • 12.1k
153 votes
7 answers
1.9m views

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 ...
Vogelsire's user avatar
  • 1,633
80 votes
10 answers
100k views

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 ...
mindless.panda's user avatar
68 votes
9 answers
134k 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 ...
Lukas Cenovsky's user avatar
67 votes
8 answers
15k 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 either ...
xiaokaoy's user avatar
  • 802
48 votes
4 answers
20k 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 ...
Tim's user avatar
  • 1,263
47 votes
9 answers
122k 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: You do not have sufficient privilege to perform this operation. I used the same command ...
ToZo99's user avatar
  • 471
35 votes
7 answers
164k 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 ...
Ashwin Nanjappa's user avatar
31 votes
8 answers
120k 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 ...
Barry Kelly's user avatar
25 votes
2 answers
12k views

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....
Ian Boyd's user avatar
  • 22k
25 votes
1 answer
4k 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 ...
AdHominem's user avatar
  • 468
21 votes
3 answers
90k 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. ...
contactmatt's user avatar
  • 1,079
19 votes
3 answers
78k 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 ...
Tim Pietzcker's user avatar
19 votes
1 answer
23k views

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.
Waldemar Gałęzinowski's user avatar
15 votes
3 answers
18k 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 ...
Manuel Araoz's user avatar
13 votes
3 answers
20k views

Change EUID of running process

On Linux, how can I change EUID of running process from command line (provided I have root access)?
jackhab's user avatar
  • 2,970
13 votes
4 answers
17k 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 ...
HaMster's user avatar
  • 291
13 votes
2 answers
66k 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 ...
A G's user avatar
  • 583
12 votes
1 answer
1k views

How to deny elevation to a program?

Does Windows have an "automatically deny elevation request" list? If a user is a "standard user", it is possible to have Windows automatically deny any elevation requests by changing the ...
Ian Boyd's user avatar
  • 22k
11 votes
2 answers
30k 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 ...
Rafael Vidal's user avatar
11 votes
3 answers
10k 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 ...
thomasrutter's user avatar
  • 1,938
11 votes
3 answers
5k 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 ...
user avatar
11 votes
3 answers
20k views

Avecto Privilege Guard - How to run from command line?

OS: Windows 7 Enterprise PG is run via right clicking Windows Explorer when an executable is selected and selcting the Privilege Guard menu item. Is there anyway to wrap this into a script\batch ...
AwkwardCoder's user avatar
11 votes
3 answers
4k views

Reopen SublimeText as Administrator

Is there a SublimeText plugin that reopens the current file as Administrator? Notepad++ has a feature where, if you open a file and don't have the permissions to edit it, but try and save, it will ...
Des Horsley's user avatar
9 votes
1 answer
10k 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)
Juha's user avatar
  • 248
8 votes
4 answers
20k 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 as ...
kpozin's user avatar
  • 1,688
8 votes
4 answers
392 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 ...
user avatar
7 votes
4 answers
105k 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 ...
robertj's user avatar
  • 383
7 votes
4 answers
42k 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 ...
Kaushik's user avatar
  • 193
7 votes
4 answers
18k 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-app ...
Jonah Goldstein's user avatar
7 votes
1 answer
6k 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 ...
CodeWarrior's user avatar
6 votes
3 answers
26k 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 ...
Tom Ribbens's user avatar
6 votes
5 answers
28k 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: ...
Danny D'Amours's user avatar
6 votes
0 answers
921 views

Does a process with CAP_SETUID and CAP_SETGID can always gain full root privileges?

If I have an executable file with CAP_SETUID and CAP_SETGID set inside xattrs file’s attributes. Will I get full root privileges if such executable call setuid();setreuid();setresuid();setfsuid() with ...
user2284570's user avatar
  • 1,823
5 votes
3 answers
31k 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.
hendrasaputra's user avatar
5 votes
4 answers
4k 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 ...
Master of Celebration's user avatar
5 votes
3 answers
6k 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 ...
Dima's user avatar
  • 278
5 votes
1 answer
3k 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 7 ...
Sam Holder's user avatar
  • 1,011
5 votes
1 answer
963 views

What linux capabilities are necessary for DRI (Direct Rendering Infrastructure)?

Background: I'm looking to create a docker image that can run opengl. To do that I followed the steps found here, which worked like a charm. The issue is that the instructions recommend that ...
Roy Truelove's user avatar
4 votes
3 answers
7k 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 ...
nikeee's user avatar
  • 143
4 votes
2 answers
19k 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 ...
Tommy Herbert's user avatar
4 votes
2 answers
481 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 ...
Fatime's user avatar
  • 53
4 votes
1 answer
2k views

symlinks for admin users on Windows

On Windows you can create symlinks either if you start the programm, you want to create a symlink in (e.g. cmd), as Administrator. or if you give your user/usergroup the permission to create symlinks ...
automatix's user avatar
  • 1,411
4 votes
2 answers
5k 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 ...
Suhail Gupta's user avatar
  • 2,213
4 votes
1 answer
5k 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 ...
Gene Goykhman's user avatar
4 votes
2 answers
9k 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 (...
migajek's user avatar
  • 161
4 votes
1 answer
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, ...
Johannes Weiss's user avatar
4 votes
1 answer
2k views

Linux setcap and changes made to the executable

A program that I am developing uses raw sockets. For security reasons to run a program that uses raw sockets, the program has to be run under a user with effective ID 0 (root?) or have the capability: ...
kris's user avatar
  • 43
4 votes
2 answers
4k views

Powershell has started running as administrator

Something unusually has happened recently on my machine: every time I start powershell, it starts with Admin privileges by default. It used to be that it would start just as my user unless I right-...
askvictor's user avatar
  • 1,678

1
2 3 4 5 6