Questions tagged [user-management]

Generally used for a component of the software system - which is responsible for creating, managing and controlling users. This includes classical "authentication and authorization" terms too.

537 questions
116
votes
2 answers

mysql create user if not exists

I have a query to check mysql users list for create new user. IF (SELECT EXISTS(SELECT 1 FROM `mysql`.`user` WHERE `user` = '{{ title }}')) = 0 THEN CREATE USER '{{ title }}'@'localhost' IDENTIFIED BY '{{ password }}' END IF; But i get this…
110
votes
5 answers

How to check if a postgres user exists?

createuser allows creation of a user (ROLE) in PostgreSQL. Is there a simple way to check if that user(name) exists already? Otherwise createuser returns with an error: createuser: creation of new role failed: ERROR: role "USR_NAME" already…
m33lky
  • 7,055
  • 9
  • 41
  • 48
68
votes
3 answers

How do I add a user in Ubuntu?

Specifically, what commands do I run from the terminal?
quackingduck
  • 5,845
  • 5
  • 29
  • 22
61
votes
4 answers

Add Users to Jenkins with "Allow users to sign up" Disabled

I do not want new users to be able to sign up. So in Jenkin's Configuration, I disabled "Allow users to sign up" with using Jenkin's own user database. But how can I manually add users now? Also, is there a default admin user I should take care of?
fabb
  • 11,660
  • 13
  • 67
  • 111
51
votes
2 answers

Ansible: best practice for maintaining list of sudoers

In the documentation, there is an example of using the lineinfile module to edit /etc/sudoers. - lineinfile: "dest=/etc/sudoers state=present regexp='^%wheel' line='%wheel ALL=(ALL) NOPASSWD: ALL'" Feels a bit hackish. I assumed there would be…
chishaku
  • 4,577
  • 3
  • 25
  • 33
37
votes
2 answers

Drop User from SQL Server Database?

How can I drop user from a database without dropping it's logging? The script should check if the user exists in database, if does then drop the user.
sanjeev40084
  • 9,227
  • 18
  • 67
  • 99
36
votes
1 answer

Mapping Firebase Auth users to Firestore Documents

I'm trying to use Firebase's Firestore database to handle Users in my Android app. Initially I want to use the id returned from the Auth package (a string), and set that as the id for the users Collection in the database. When creating a Document…
25
votes
4 answers

VS Marketplace Add Member displayes Invalid Domain error

I am trying to add a member to Visual Studio Marketplace. In my account I go to Manage Publishers & Extensions -> Members and click om '+ Add'. Whatever e-mail I provide shows "Invalid Domain" error: Is it a VS Marketplace bug or do I need to…
IT Hit WebDAV
  • 5,652
  • 12
  • 61
  • 98
20
votes
5 answers

How can I get other users info(username, firstname) by id? [Keycloak]

How can I get user keycloak attributes (username, firstname, email...) based on user id? The user I'm using in the Keycloak session has already the role view-users assigned so I should be able to list at least all users, is there any Keycloak class…
User6300
  • 325
  • 1
  • 3
  • 10
14
votes
4 answers

Ruby on Rails User Management Engine/Framework? (with web pages)

There are quite a few post/recommendations re Rails authorization plugins. What I'm asking here however is whether there is a popular/good Ruby on Rails Engine (or framework) that includes the user interface pages as well (and controllers/models…
Greg
  • 34,042
  • 79
  • 253
  • 454
13
votes
3 answers

User Management in CodeIgniter 2.1.0

Possible Duplicate: How should I choose an authentication library for CodeIgniter? What is the best library for User Registration / Authentication / Management for CodeIgniter 2.1.0? Thanks!!
Mark Design
  • 664
  • 1
  • 6
  • 24
13
votes
2 answers

How can I handle/restrict user-access to servlets & jsp's?

I'm currently writing a little dynamic web-application in Java. The application is supposed to be an event-platform where you can create a user-account, log in, and then you can see all open events (in a later iteration, users can create/participate…
MrTrustworthy
  • 416
  • 1
  • 4
  • 14
11
votes
2 answers

Cognito Groups with IAM Permissions

What I want to implement: I have a Cognito User-Pool and I have some Users and some Groups. I want that certain Users have access to API Gateway functions, some Users can access some functions and others have no access. What I did: I created three…
11
votes
1 answer

Combining row level security with column grants

Let's say I have a users table with three columns, public_data, private_data, and system_data, and I have three roles named postgres, authenticated_user, and visitor. postgres is superuser and can access all data (including system_data of…
11
votes
3 answers

What is a good alternative to Firebase for user management, more specifically for Python?

What is an alternative to firebase for user management/auth for python apps. I know I can use node.js w/ firebase but, I would rather authenticate users through a managed 3rd party API in python using HTTPS requests,if possible. Appery.io has this…
1
2 3
35 36