Practices and procedures aimed at performing bulk and/or fine-grained operations on user accounts, permissions, allocated resources.
Questions tagged [user-management]
660 questions
9
votes
2 answers
Why might the Jenkins user not have permission to access the Docker unix socket?
I've added the jenkins user to the docker group thinking that it would allow Jenkins jobs to run Docker commands. If I switch to the jenkins user, I can verify it works (manually):
ubuntu@hostname:~$ ps aux | grep java
jenkins 2210 9.5 7.5…

Matt W
- 211
- 1
- 2
- 6
9
votes
1 answer
How can I have puppet only set password when creating a user?
I want Puppet not to manage a password (i.e., reset it when it's changed) but to set the initial password when Puppet creates the user.
I was thinking of doing a notify to an Exec resource that sets the password but this is triggered when any…

Belmin Fernandez
- 10,799
- 27
- 84
- 148
9
votes
1 answer
How do I re-enable an sudo lecture, once it's been seen
I have sudo set to show the usual lecture on its first use by a user. Without thinking, I accidentally triggered its display for a new user as I was setting them up, and now it's been shown, they won't get to see it again.
How does sudo know that a…

dopiaza
- 193
- 1
- 4
9
votes
1 answer
Why is the root user named root by default?
This might seem like a silly question but I could see this as being confusing. For example:
"Go to root directory"
Could be interpreted as:
Go to /
Go to ~root (usually /root/)
I would think something like super would of made for a better default…

Belmin Fernandez
- 10,799
- 27
- 84
- 148
9
votes
2 answers
Active Directory - Bulk Company Update
I was wondering if there is a way to update the 'Company' field for a large group of users within Active Directory? I would like to match all users with a company ending in a certain string.
It would take way too long to change this for each user…

JT.WK
- 431
- 6
- 18
8
votes
1 answer
Reset GID/UID auto-increment numbers
I created a virtual mail user for postfix virtual mailboxes with a gid/uid of 5555, but now every new user I create starts at > 5555, is it possible to reset the autonumbering so normal users will be back in the low 100s? I know this appears…

Mike Purcell
- 1,708
- 7
- 32
- 54
8
votes
1 answer
How to disable user's password via puppet securely?
I have my SSH servers setup to use only Public Key authentication with password authentication disabled.
When adding users through puppet I would like to disable user passwords.
So far I have came up with this, which seems to work, but I am not sure…

ek9
- 2,093
- 4
- 19
- 23
8
votes
8 answers
Best practices or experience with company wide Username policies and resolving duplicates
I am a programmer with an application that needs to be integrated into the new company wide Active Directory login scheme. This means changing all the usernames in our system to use the new scheme. The new scheme is "first initial, last name", so…

Peter
- 406
- 1
- 5
- 13
8
votes
4 answers
How to add a user without knowing the encrypted form of the password?
I use the following command to create a user in a linux machine:
useradd -d /home/dummy -g idiots -m -p 12345689 dummy
The user is created and the home directory as well.
The problem is that I can not log-in to the system using this account since…

Jim
- 335
- 2
- 4
- 8
8
votes
3 answers
Combined NFS, Samba server w users from Active Directory
I want to build a server that exports user home directories over SMB/CIFS and NFS. This server would be joined to a Win2k3 AD domain controller that holds our user database. As I understand it, winbind will invent UIDs for these users on the fly.…

Bittrance
- 3,070
- 3
- 24
- 27
8
votes
4 answers
How to create an alias for a user name on Linux?
For example, hot to set-up the system for john.smith and jsmith to be synonyms?
UPDATE: the reason is than I want a user to be registered in the system as jsmith and to have john.smith@example.com email address.

Ivan
- 3,398
- 19
- 50
- 71
8
votes
4 answers
Windows Server 2008/R2: Change the maximum UserName length?
Is there any way to change the standard 20 character UserName maximum length restriction for local accounts?
(Server 2008 R2 to be specific)

Matias Nino
- 1,392
- 7
- 25
- 40
7
votes
3 answers
PowerShell - Limit the search to only one OU
Ive got this cmdlet and I'd like to limit the results to only one OU:
Get-ADUser -Filter {(Enabled -eq $false)} | ? { ($_.distinguishedname -notlike '*Disabled Users*') }
Now Ive tried to use
-searchbase "ou=FirstOU,dc=domain,dc=com"
But if I…

Npv23g
- 320
- 4
- 6
- 12
7
votes
1 answer
Providing normal users(non-root) with initialization and shutdown auto-run capabilities
I'm hosting an experimental/testing Linux box, running Debian Wheezy 7.4.0 distribution. Different users log into the machine over ssh to their accounts and are allowed to run the development tools and leave their programs running as services in…

Ivan Kovacevic
- 1,801
- 3
- 15
- 19
7
votes
4 answers
Debian and users
After a fresh GNU/Linux Debian install I can see that a lot of users are created:
daemon
bin
sys
games
man
lp
mail
news
uucp
proxy
list
irc
gnats
Debian-exim
statd
identd
This os is running on a server. I don't have games, printer, news server,…

Matthieu
- 443
- 4
- 12