Practices and procedures aimed at performing bulk and/or fine-grained operations on user accounts, permissions, allocated resources.
Questions tagged [user-management]
660 questions
1
vote
1 answer
Can I delete initial ubuntu user on Ubuntu server?
Ubuntu installer create by default an initial user called ubuntu (that it's also a sudoers), as explained here.
On my server I have created another sudoer (with a less common name) and I would like to delete the default/initial ubuntu user to…

gun88
- 11
- 1
1
vote
2 answers
Mysql : Number of connections in a given duration
How do I find out how many connections were made to the mysql server
in a given duration?

simplfuzz
- 269
- 1
- 4
- 10
0
votes
1 answer
How to use list to create users with this Ansible role
I am trying to learn Ansible and I've been dabbling with some roles that I've found on Github, specifically this one that automates user creation together with sudo rules and SSH key…

Anziblenoob
- 1
- 1
- 1
0
votes
1 answer
What folder should be the home of the web root owner?
I'm setting up a SLES 12 system for running web applications on it. There is already a /srv/www folder and it's going to be owned by a special user (let's say: web user).
Is there a good practice / standard in Linux (and maybe specially in Suse…

automatix
- 702
- 3
- 7
- 20
0
votes
1 answer
Windows IAM without granting admin access
I have an IAM team that needs to be able to create local administrator accounts but the customer doesn't want to grant that team Administrator access to the this team. Is there any way to create administrative users while restricting access to only…
0
votes
2 answers
Getting dates associated to acct sa output stats
I'm trying to get stats on global CPU usage of a server on a per-user basis so I installed GNU Accounting (acct) (on Ubuntu server 16.04).
When asking for stats with sa -m, it takes data from the current /var/log/account/pacct, which is rotated by…

CharlesB
- 545
- 1
- 4
- 20
0
votes
1 answer
Is it possible to disable new bluetooth connections for non-admin accounts(Windows 10)?
I can disable bluetooth entirely, but I want the previously attached bluetooth keyboard & mouse to continue working, but the guest/non-admin users unable to pair new devices. I looked at stopping Bluetooth Support Service, but that looks like it…
0
votes
2 answers
Manage WIndows clients in the Azure cloud
I'm looking for a solution for the following scenario:
We are planing to install several Windows 10 systems (about 30 to 50 PCs).
We want to create user centrally, and also want to push group policies to the machines.
So I think we need a Microsoft…

White
- 25
- 3
0
votes
1 answer
Should Active Directory, Web Apps and MS-SQL all have the same users?
I am looking for a clean way to do audit trails in MS SQL Server, for compliance reasons, preferably completely on the database side without involving the web application.
When talking about audit trails I mean a complete log of the changes to the…

Felix Ruzzoli
- 1
- 2
0
votes
2 answers
Having Postgres databases to be physically stored in a subfolder of the Ubuntu user's home directory
I am currently setting up an Ubuntu 18.04 server, where many different users are given SSH access - including access to the server's Postgres SQL and the ability to create their own Postgres databases.
What I would like to accomplish is the…

Bennton
- 111
0
votes
3 answers
Stop users from logging-in locally
How can I stop users from logging in locally and force them login the domain. Some users are still logging in locally which we used prior to our recent conversion. I need to stop this immediately.
The domain controller is Windows 2008 Server and…

DevNULL
- 161
- 1
- 1
- 7
0
votes
1 answer
Is there a way to set a path specific to a user ...?
I have a lab of developers that jump from workstation to workstation due to development and Debugging in a live production state (Robotics). I have one developer who is wanting to test a new compiler and wants his path to be modified upon login no…

DevNULL
- 161
- 1
- 1
- 7
0
votes
2 answers
Unable to remove user from group
Sometime ago for who knows which testing purposes I added www-data to a group of developers called devs. I want to remove it now but it don't let me with the following message:
$ sudo deluser www-data devs
/usr/sbin/deluser: The user `wwww-data'…

ABu
- 499
- 1
- 6
- 19
0
votes
1 answer
redirecting output using sudo
I want to run a command as another user using sudo, and redirecting the output of that command as that user.
Example, if I run:
touch some-file
under user simon, some-file will be owned by user simon. If I run:
sudo -u ernesto touch some-file
then…

Simon Ernesto Cardenas Zarate
- 251
- 1
- 3
- 12
0
votes
2 answers
Switching to a "role" account, using `sudo` and `ssh` agent forwarding later on – possible?
I want to create "role" accounts for several admin tasks that don't usually require root permissions. For example, consider a www-admin user maintaining files in /var/www.
It seems to me that this is the easiest way to solve file permission issues:…

mp_de
- 11
- 1