Questions tagged [user-management]

Practices and procedures aimed at performing bulk and/or fine-grained operations on user accounts, permissions, allocated resources.

660 questions
5
votes
1 answer

Is NFS + NIS a modern good practice for Linux networks to achieve common logins and home directories?

I'm setting up a smallish network of Centos servers (less than 10) and I'd like to have common logins on all of them as well as network mapped home directories. I used to work with Solaris quite a bit and the setup I used was NIS and NFS. NIS to…
JR Lawhorne
  • 1,221
  • 2
  • 11
  • 12
5
votes
2 answers

How to change user's UID&GID and what comes out of that

I have MySQL data files on a thumb drive that are used on two hosts where mysql user's UIDs differ. As a result, MySQL fails to start when it's files have 0700 perms and an unknown UID as an owner. I failed to find how to change MySQL's umask (and…
kolypto
  • 11,058
  • 12
  • 54
  • 66
4
votes
3 answers

How would you manage keys with TrueCrypt in a business enviroment?

What would be some of the best options for implementing TrueCrypt on all external devices so if any are lost or stolen that the data is not readable to another person but could be managed in a way that users wouldn't accidentally forget their entire…
Chris Marisic
  • 1,424
  • 8
  • 33
  • 51
4
votes
1 answer

How can I grant Dial-In / Network Access Permission to local account via command line?

I am trying to configure a VPN server completely using Powershell. I have completed everything except the last step: Granting a local user account Dial-In / Network Access Permissions so that this user can access the VPN. Via GUI it's easy to…
Adrian Grigore
  • 1,072
  • 3
  • 21
  • 34
4
votes
2 answers

vsftpd local users error "Incorrect login"

I want to integrate an Android app with a FTP server, in this case vsftpd (My computer is running LinuxMint 18, kernel 4.4.8). Anonymous users work, my user works (darijan), but I made another user (ftpuser1), set root directory to /srv/ftp/ftpuser1…
darijan2002
  • 143
  • 1
  • 5
4
votes
0 answers

Can I pre-hash a Windows password and pass the hash when creating the account?

I am building some Windows VMs with Vagrant, and the Vagrant provisioner will create some users. I'd like to be able to commit the passwords for those users to source control, but obviously I don't want to commit them in plain text. On Linux, I…
Micah R Ledbetter
  • 513
  • 1
  • 5
  • 19
4
votes
2 answers

When does password expire when unchecking "Password never expires"

On a Windows Server 2008 R2 AD, if you uncheck the account option "Password never expires" on a User Account, does the password expire instantly, or does it get set to the period defined in the Password Policy?
PrometheusDrake
  • 43
  • 1
  • 1
  • 5
4
votes
0 answers

solaris : useradd does not work but has exit code 0

One of my Solaris 10 servers will not add new users. Existing users are able to log in. The useradd command appears to work normally but it does not add the user. I checked my other Solaris servers and verified file permissions on /etc/passwd and…
Don
  • 41
  • 1
4
votes
2 answers

How to set permissions to use 'ls'

I have a folder (which is owned by another user but the same group) and I want to view it's contents, but I always get the following error message: "ls: cannot open directory .: Permission denied" But the group has rwx-permissions! Eg: folder…
NaN
  • 335
  • 1
  • 3
  • 10
4
votes
4 answers

What do I need to be cautious of when changing a User Logon Name in Active Directory?

I'm new to my current employer, being their only Sysadmin. I'm seeing a small handful of users who have User Logon Names which don't conform to the naming convention standard which majority of users are set to. This would be first name and first…
4
votes
2 answers

Where is the script that creates home folders in linux?

I want to added public_html and private_html folders for users of my web server (Fedora 8 or 10 or something). Where is the script that will create those folders for them when they log on? Is there one script for first logon and a different script…
Peter Turner
  • 2,178
  • 9
  • 33
  • 45
4
votes
2 answers

puppet execution of a python script where os.system(...) command is not working

I am trying to manage Unix users with puppet. Puppet provides enough tools to create accounts and provide authorized_keys files for instance, but no to set up user password, and it tell to the user. What I have done is a python script which generate…
philippe
  • 2,303
  • 4
  • 32
  • 53
4
votes
3 answers

Remove user from root group

Somehow I managed to add user Tom to root group in Ubuntu, in order to avoid using sudo everytime (bad decision). Now I want to remove it and I can't. I've tried using usermod -G {groups} Tom My /etc/sudoers file is the following: Defaults …
Joaquín L. Robles
  • 157
  • 1
  • 1
  • 8
4
votes
1 answer

new user with authorized_keys: how to NOT ask for the old password when setting one?

when I create a user in the system with Chef, I always upload its public key to .ssh/authorized_keys. When user logs in for the first time, he is required to "change" his password. For that a stub password is used, so he can enter the "current"…
4
votes
1 answer

Active Directory: How to answer "does this user belong to this group (directly or indirectly)"

There are various ways to either list all users & groups belonging to a group (or via gui), or conversely list all groups a group or user belongs to... However, I am in a position where I wish to know whether a group (My Group) directly or…
Stobor
  • 646
  • 5
  • 12