Questions tagged [user-administration]
24 questions
22
votes
5 answers
What is "add_fieldsets" for in UserAdmin in Django?
I'm following a tutorial on making a custom User for authentication purposes. The tutorial used a certain property add_fieldsets within UserAdmin. What does this mean? I can't seem to find any documentation on this.
Here is the snippet:
class…

Donovan Keating
- 1,715
- 3
- 17
- 27
9
votes
3 answers
C++ add linux user
Whats the best way to add a user/group in linux using C++ is there a library I can call on? I dont want to start doing things like:
fopen("/etc/passwd", "a");
fprintf(tmp, "%s:x:%d:1:%s:/%s/%s:/bin/ksh\n", username, usernumber, commentfield,…

James Moore
- 253
- 1
- 6
- 14
4
votes
1 answer
Yocto Jethro: how do I add user to sudoers list
I added a new user as follows
inherit extrausers
EXTRA_USERS_PARAMS = "useradd -P p@ssW0rd user1;"
I am trying to find how to add users to sudoers list. Is there a class like extrausers
Update-1:
In class classes/extrausers.bbclass I see usermod…

sob
- 982
- 11
- 31
3
votes
1 answer
Salting a password - are there better options than using a timestamp?
I'm currently building a couple of ASP.NET MVC 2 sites, and am wondering what my options are for salting a password. With my PHP work, I usually just obtained the timestamp of when a user registered, then appended it to the end of their password…

Major Productions
- 5,914
- 13
- 70
- 149
3
votes
3 answers
Framework for administrating users
I'm looking for a framework I can use in my new webproject.
The main concern for me is handling my users, therefore I'm on the lookout for a framwork that can handle them for me. I develop in PHP, so preferably that's the language it should use.
I…

ehm
- 23,789
- 5
- 28
- 31
2
votes
1 answer
Apache Nifi - How do I make different user groups and policies upon Nifi startup?
I understand how to use the Apache Nifi GUI to add new users and enforce policies. I am, however, trying to automate this process so that when I start up my Docker Nifi container, it already has three user groups (essentially an admin, user, and…

Kelly P
- 43
- 5
2
votes
3 answers
Should I extend ASP.NET Security for a public site?
I have a ASP.NET MVC site with a private site administration application secured with ASP.NET sql-backed authorization. I need to add a login for the public site to allow visitors to sign up for an account.
I am thinking I should create totally…

Paul
- 6,188
- 1
- 41
- 63
2
votes
1 answer
What value of salt should I give to crypt to create a new user on Linux?
I am writing a Perl script which will create a new user (on Ubuntu).
It will need a step along the lines of
$encrypted_password = crypt ($password, $salt);
system ("useradd -d $home -s /bin/bash -g $group -p $encrypted_password $name");
What should…

spraff
- 32,570
- 22
- 121
- 229
1
vote
1 answer
Azure AD user's status
How can I check status ( active or account lock or inactive status) of a user in Azure AD?
I am not sure if there any way to verify users status. Can Someone please help.

Govind Sharma - MSFT
- 81
- 10
1
vote
1 answer
Users in Adobe Experience Manager
Does AEM provide a feature to allow disabled users to be enabled again? I have a use case where some of the project members joined back AEM project. Admin disabled their users to prevent login. Now I have to enable them again.

Jessica Cook
- 11
- 2
1
vote
3 answers
Retrieving user created roles and user info in Azure
I used to following to create a role in Azure SQL database, grant permissions to the role and assigned the role to the user:
CREATE ROLE [DepartmentReadOnly] AUTHORIZATION [dbo]
GO
GRANT SELECT ON tblDepartment TO DepartmentReadOnly
CREATE USER…

Coding Duchess
- 6,445
- 20
- 113
- 209
1
vote
1 answer
bash_profile for new user created through useradd
I created a new user in RHEL7
useradd newuser
When I opened the ~/.bash_profile of this user, the output is
$cat -n ~/.bash_profile
1 # .bash_profile
2
3 # Get the aliases and functions
4 if [ -f ~/.bashrc ]; then
5 . ~/.bashrc
6 …

anoop.babu
- 405
- 2
- 6
- 13
0
votes
1 answer
Creating user with Yocto works only partially
I am trying to create a user to my system created using Yocto.
I have the following line in my recipe for my custom image:
inherit extrausers
EXTRA_USERS_PARAMS = " useradd -p 'myuser' -d /home/myuser --create-home myuser; "
The result is that I…

TheAG
- 287
- 1
- 4
- 10
0
votes
1 answer
Can I access the users data on django admin while using django-allauth?
I am new, first question..
I have configured django-allauth on a django project. It is working fine front end.
When I access the Django-admin interface with the superuser, I can access all sorts of things that django-allauth as added like…

Stéphane
- 43
- 7
0
votes
1 answer
add item to key in registry with vb or c# AND get Administrative Access
I want add item to a key in registry and find "CreateSubKey" command but point is this command create sub key not item to a key. for example path of "Computer\HKEY_USERS.DEFAULT\Control Panel\International" has about 40 item and 3 sub key. I want…

MHD
- 25
- 9