privileges

Ansible non-root sudo user and “become” privilege escalation

放肆的年华 提交于 2019-12-17 22:23:36
问题 I've set up a box with a user david who has sudo privileges. I can ssh into the box and perform sudo operations like apt-get install . When I try to do the same thing using Ansible's "become privilege escalation", I get a permission denied error. So a simple playbook might look like this: simple_playbook.yml: --- - name: Testing... hosts: all become: true become_user: david become_method: sudo tasks: - name: Just want to install sqlite3 for example... apt: name=sqlite3 state=present I run

ORA-01950: no privileges on tablespace 'USERS' [closed]

百般思念 提交于 2019-12-17 21:43:21
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I'm getting this error: ORA-01950: no privileges on tablespace 'USERS' I have a default tablespace and I'm able to create tables, however, they do not show at the objects tab in Toad. I cannot insert anything into tables I create. 回答1: You cannot insert data because you have a quota of 0 on the tablespace. To

Give all the permissions to a user on a DB

ぃ、小莉子 提交于 2019-12-17 21:24:40
问题 I would like to give an user all the permissions on a database without making it an admin. The reason why I want to do that is that at the moment DEV and PROD are different DBs on the same cluster so I don't want a user to be able to change production objects but it must be able to change objects on DEV. I tried: grant ALL on database MY_DB to group MY_GROUP; but it doesn't seem to give any permission. Then I tried: grant all privileges on schema MY_SCHEMA to group MY_GROUP; and it seems to

How does a program ask for administrator privileges?

眉间皱痕 提交于 2019-12-17 20:39:17
问题 I am working on a small application in VB.NET. The program needs administrator privilege for doing some tasks. Is there a way to ask for administrator privileges during the execution if the program? What is the general way of changing the user account under which the application is running? 回答1: There are a number of methods depending on your needs. Some details are given in the application developer requirements for UAC. Include a UAC manifest that causes your program to require

create db and user mysql and set privileges php [closed]

萝らか妹 提交于 2019-12-17 19:39:10
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . Is there a way to create a new MySQL database, a new MySQL user and give the new user privileges on the new database all using PHP? 回答1: You could do something like this: mysql_connect('localhost','user',password); mysql_query("CREATE USER 'username'@'localhost' IDENTIFIED BY

Write Privileges - localhost - Mac OSX

你说的曾经没有我的故事 提交于 2019-12-17 17:29:02
问题 I'm new to the mac world and have just been setting up my webserver. I used the following guide: https://alan.ivey.dev/posts/2011/os-x-10.7-lion-development-native-mamp-with-mysql-installer/ I've transferred my sites and databases and everything is going pretty well. The only problem I have is with the writing permissions. For example there is a config file that needs to be written to, and I had to right click, go to Get Info then enable read & write for staff and everyone. I can't manually

What registry access can you get without Administrator privileges?

情到浓时终转凉″ 提交于 2019-12-17 08:45:09
问题 I know that we shouldn't being using the registry to store Application Data anymore, but in updating a Legacy application (and wanting to do the fewest changes), what Registry Hives are non-administrators allowed to use? Can I access all of HKEY_CURRENT_USER (the application currently access HKEY_LOCAL_MACHINE ) without Administrator privileges? 回答1: In general, a non-administrator user has this access to the registry: Read/Write to: HKEY_CURRENT_USER Read Only: HKEY_LOCAL_MACHINE HKEY

What precisely does 'Run as administrator' do? [closed]

戏子无情 提交于 2019-12-17 05:47:45
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . On Windows 7, I have a command-line program that fails due to file write permission errors, and popping up annoying UAC dialogs every time I run command-line programs that are from an 'unknown publisher'. However, if I start my console by right clicking and choosing 'run as administrator', then the install works

Why is window.showModalDialog deprecated? What to use instead?

 ̄綄美尐妖づ 提交于 2019-12-17 04:33:49
问题 I was developing a GreaseMonkey script which used window.showModalDialog . But before finishing it, I have discovered that Firefox 29 warns: Use of window.showModalDialog() is deprecated. Use window.open() instead. For more help https://developer.mozilla.org/en-US/docs/Web/API/Window.open But the problem is that window.open needs UniversalBrowserWrite privilege in order to open a modal window using window.open . Then, why is window.showModalDialog deprecated? Is there any API which doesn't

How to start MySQL with --skip-grant-tables?

你离开我真会死。 提交于 2019-12-17 04:28:17
问题 I locked my root user out from our database. I need to get all privileges back to the root user. I have my password and I can log in to MySQL. But the root user has no all privileges. 回答1: I had the same problem as the title of this question, so incase anyone else googles upon this question and wants to start MySql in 'skip-grant-tables' mode on Windows, here is what I did. Stop the MySQL service through Administrator tools, Services. Modify the my.ini configuration file (assuming default