Questions tagged [privileges]

This tag is for questions relating to the general topic of privileges, without reference to any specific operating system or application.

This tag is for questions relating to the general topic of privileges, without reference to any specific operating system or application.

1503 questions
12
votes
16 answers

Service 'MongoDB Server'(MongoDB) failed to start.Verify that you have sufficient privileges to start system services

When I'm trying to install MongoDB Community edition on windows 8.1, I'm getting below error. I tried most of the available solution from the internet but none of them worked.
Vilas D.
  • 165
  • 1
  • 3
  • 12
12
votes
1 answer

NSIS Installer without Admin Privileges

I'm trying to configure the NSIS installer to run without admin privileges. Is this possible? I'm testing as a non-admin user because some customers don't have those privileges. What settings in NSIS cause the installer require admin privileges?…
Dan
  • 2,304
  • 6
  • 42
  • 69
12
votes
1 answer

Run command as --privileged in Dockerfile

I need to bee --privileged to run a specific command in the Dockerfile but I can't find a way to tell docker to do so. The command is RUN echo core > /proc/sys/kernel/core_pattern If I put that in the Dockerfile the build process fails. If I run…
user1618465
  • 1,813
  • 2
  • 32
  • 58
12
votes
4 answers

Ansible "postgresql_user" module "priv" parameter syntax clearification

The documentation for the postgresql_user module on how privileges for a user should be defined conflicts with itself regarding the format. The format is described as such in the options table: priv | PostgreSQL privileges string in the format:…
hanshenrik
  • 199
  • 1
  • 11
12
votes
2 answers

Detecting elevated privileges on Windows Server 2008 or higher

I have an C#, .Net 4.6.1 Windows Forms Application running on Windows Server Platforms (2008 or higher) which requires to be "Run as Administrator". Elevated privileges are required because the application changes User Access Rights on various…
Mats
  • 14,902
  • 33
  • 78
  • 110
12
votes
2 answers

How to check permissions to functions under psql console

Could you tell me please how to check permissions to functions with psql console but without being overwhelmed with source code and descirption (like when using \df+).
MiB
  • 123
  • 1
  • 1
  • 6
12
votes
6 answers

How to get all privileges back to the root user in MySQL?

I have logged in to MySQL with the --skip-grant-tables option. But I don't know how to get all privileges back to the root user. I tried: GRANT ALL PRIVILEGES ON * . * TO 'root'@'localhost'; MySQL said: # 1290 - The MySQL server is running with the…
Steven
  • 24,410
  • 42
  • 108
  • 130
11
votes
3 answers

Find out if user got permission to select/update/... a table/function/... in PostgreSQL

What is the recommended way to figure out if a user got a certain right (e.g. select or execute) on a certain class (e.g. table or function) in PostgreSQL? At the moment I got something like aclcontains( someColumnWithAclitemArray, …
finnsson
  • 4,037
  • 2
  • 35
  • 44
11
votes
1 answer

Binding on privileged ports (ports < 1024) on Mac OS X 10.6

Do you know how to remove restriction on binding to ports < 1024 with a user account that is not root on Mac OS X?
Nicu B.
  • 111
  • 1
  • 4
11
votes
3 answers

When is SeTcbPrivilege used? ("Act as part of the operating system.)

For what purpose(s) is the SeTcbPrivilege privilege in Windows used? Can it be used, for example, to run a program under the SYSTEM account?
user541686
  • 205,094
  • 128
  • 528
  • 886
11
votes
2 answers

Seeking alternative to AppDomain.CreateDomain(string, evidence) due to obsolete CAS policy

I am working through the Microsoft .Net Framework--Application Development Foundation Training Kit book Chapter 8 Lesson 2: Configuring Application Domains ShowWinIni being the assembly name for the program I want to execute object[] hostEvidence =…
Jesslyn
  • 696
  • 10
  • 25
11
votes
2 answers

Obtaining admin privileges to delete files using rm from a Cocoa app

I am making a small app that deletes log files. I am using an NSTask instance which runs rm and srm (secure rm) to delete files. I want to be able to delete files in: /Library/Logs ~/Library/Logs The issue is that the user account does not have…
Form
  • 1,949
  • 3
  • 25
  • 40
11
votes
2 answers

no privileges on tablespace 'USERS'

i have many tables that i can insert rows, but i get this error only for one table; Error starting at line 1 in command: INSERT INTO ERRORLOG (MESSAGE) VALUES ('test') Error report: SQL Error: ORA-01950: no privileges on tablespace 'USERS' 01950.…
11
votes
2 answers

How do I correctly set ownership and privileges in MariaDB (MySQL)?

I'm trying to setup a database schema on MariaDB which originally comes from PostgreSQL. What is the correct syntax in MariaDB for: ALTER DATABASE mydbname OWNER TO someuser and similar for granting privileges: GRANT ALL PRIVILEGES ON DATABASE…
Jemolah
  • 1,962
  • 3
  • 24
  • 41
11
votes
2 answers

Why not use the built-in MySQL users and permissions for a website?

I have searched quite a bit on the subjects of encryption, storing passwords, designing secure PHP scripts etc. There seems to be a couple of common themes: "Don't try and write your own encryptions scripts, use an existing library (eg.…
James Drake
  • 143
  • 6