Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [users]

Humans using a system. They try to break everything. Always handle with caution. Expect the unexpected.

0
votes
3answers
24 views

How do I remove a user's home directory without deleting the user?

[root@Acheron ~]# systemctl status shadow ● shadow.service - Verify integrity of password and group files Loaded: loaded (/usr/lib/systemd/system/shadow.service; static; vendor preset: disabled) ...
0
votes
0answers
39 views

Rename a linux user (and their home folder) with Ansible

I have a linux user with various folders and files in their home: User: foo /home/foo/somefolder I want to rename this user and move their home directory to end up with: User: bar /home/bar/...
0
votes
1answer
15 views

Gitlab filesystemuser messed up

I have inherited a server with an installed GitLab, but it is unable to run. After a few lookarounds, I've found, it might had a user who got deleted, and the original user to run gitlab was him. I ...
0
votes
1answer
20 views

PHP creates files as root user instead of nginx

I've set up a new server on Debian Stretch. The web server user is nginx: ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1 nginx I have already ...
0
votes
0answers
11 views

Apache userdir for guest user with home folder in /tmp

I need to setup Apache userdir for a guest user in /tmp/guest-jpQ6cE/public_html. I've used these commands to set the correct permissions: $ chmod o+x ~ $ chmod o+x ~/public_html $ chmod -R o+r ~/...
0
votes
1answer
38 views

User sessions under the systemd control group hierarchy, why it's needed?

When a user log in a server with systemd, the PAM logic execute pam_systemd. With that module, the users are registered under the systemd control group. This is an example of two users (root and a ...
0
votes
1answer
23 views

Can't change user to mpm-itk user

I tried to use mpm-itk to isolate my apache virtual host using this tutorial. I created user bean and group bean, I created a password for this user using passwd bean. When I try to swith to this ...
0
votes
0answers
18 views

File permission issue with setuid bit set

I have a script on a server that has permission ---s--x--- but when i try to access/run it, I get a permission denied. The user I try with doesn't own the file nor is the member of the group that owns ...
0
votes
1answer
110 views

Single session limit for sftp user

I just want to set limit on sftp connection. Like if i set a session limit 1 so that user can make only 1 connection from that username. I don't want ip based or port based limit. I have tried /etc/...
7
votes
2answers
801 views

How do I specify NetworkService or LocalService for a Windows Service on a Domain Controller?

This question is a not duplicate of these existing questions: AUTHORITY\NetworkService does not exist (question is for Windows Server 2003 How can I run a process as "NT Authority\NetworkService&...
1
vote
1answer
102 views

freeradius: assign IP from specific pool filtered by user

I'm new here. I have a freeradius 3 with sqlippool and LDAP authentication (with a "guest" file-configured user), all working fine. I have 2 sqlippools: -main_pool -guest_pool I want to do the ...
0
votes
0answers
26 views

server 2003 active directory users numbers

I would like to find all used/disbale accounts of the active directory, so I need to see the last access to the domain. I looked into the user properties but I did not find anything. Where can I find ...
0
votes
1answer
49 views

How to add a user to a group?

Self-mockery : Fantastic question. I followed sudo usermod -a -G grp uzr in order to add uzr into grp. When I type groups uzr I get uzr : adm cdrom ... grp and when I'm logged in with uzr I type ...
1
vote
3answers
524 views

Get list of users in a group in FreeBSD

How to get a list of usernames assigned to a group in FreeBSD 11.1? This Question asks for a list of users or a list of groups. This Question asks for users who happen to be members of multiple ...
0
votes
0answers
39 views

An issue with apache and sftp users

I have installed an apache server, then I have created SFTP user webdev and uploaded all website files with FileZilla to /var/www/mysite.com/public after this action all my files are with ownership ...
2
votes
1answer
113 views

How Apache and ProFTPD should work together, users and groups ect

I have Apache server running on apache:apache and ProFTPD running on ftpuser:ftpgroup, all my websites are under /var/www/ which is owned by root:root. So the question is when I create a new website ...
3
votes
1answer
20 views

Non-standard site directories

You know that by default, servers like nginx and apache use standard directories for sites. Like "public_html", "www". And I noticed that on multi-user setups the sites are placed in the user's home ...
-2
votes
1answer
471 views

Windows users/groups - Anonymous Logon, Everyone, Guest - what is what?

During installing and scheduling connection via DB-links, I've come accross settings permissions for the libraries (DLLs) for the account/group Everyone and account/group ANONYMOUS LOGON. So far, I ...
-3
votes
1answer
98 views

Freebsd shutdown privileges

I need to create a user and deny them permission to turn off the machine. DO SOMEONE KNOW HOW TO CHANGE THE PERMISSIONS OF A NORMAL USER TO NOT ALLOW ME TO TURN OFF?
1
vote
1answer
224 views

Ansible - Using different users to login when working on a dynamic inventory

I'm trying to install a package on a list of servers, these have a tag in common so I'm using that tag as they are all having Environment tag set to Dev. But the issue is some of them have OS as ...
0
votes
1answer
50 views

Azure Portal BizSpark Subscription - Is there any Max limit and cost for adding Users?

I am having Azure BizSpark Subscription in Azure Portal, and I want to add Guest Users and grant them roles/resources separately. I searched documentations but not able to find whether adding Guest ...
1
vote
4answers
112 views

Do not show all docker containers to a particular user

I want to use one server to host multiple docker-containers. I want to give another user a possibility to manage new docker-containers, but I do not want to give him access to all other containers, ...
0
votes
0answers
49 views

Import users from Gitlab 6.0.1 instance to Gitlab 11.2.1-ee instance

We have two gitlab instances, running on our servers. We want to move users from our old instance (6.0.1) to new instance 11.2.1-ee. We want to move SSH keys and other settings of all users to new ...
0
votes
0answers
65 views

Locked out of MySQL; how to sign in from specific IP Address?

When I was managing the users and privileges for a SQL server, I accidentally locked myself out. To explain there were previously multiple combinations of users and hosts that had access to the DB (...
-1
votes
1answer
41 views

Properly implement REMOTE_USER-like thing for ssh

I'd like to know how to make the remote user name available in an ssh session on my server. So when joe@host1 logs in as commonuser@server1, the scripts running on server1 running as commonuser will ...
0
votes
0answers
194 views

Linux: add an sftp user who can only access a web root subdirectory (not their home folder)

I see a lot of instructions on how to create an SFTP user and jail them to the /home/username directory. However, I want an SFTP user to only access a directory like this: /var/www/html/website.com/...
1
vote
0answers
70 views

Apache not running as user with mpm_itk

I have mpm_prefork and mpm_itk loaded with Apache (on CentOS). A httpd -M | grep mpm reveals the following: mpm_itk_module (shared) mpm_prefork_module (shared) I my vhost configuration I have ...
1
vote
0answers
89 views

How to create a single Authentication point with multiple LDAP servers?

I'm currently into a process of creating a central service system from where users can connect to VMs. My goal with this is to have a single point of authentication for all possible users. The issue ...
0
votes
2answers
89 views

How to enable ssh access without public/private keys?

I am building a progressive cyber challenge for my club members (the challenges work), but what I was trying to do to make the progressive part is have each challenge reveal the password for the next ...
0
votes
1answer
3k views

List all users with ALL PRIVILEGES in MySQL

I need to find a way to list all database users that have ALL PRIVILILEGES on *.* (all databases and tables). Additionally, it would be great if it could also list only those with GRANT OPTION. My ...
1
vote
1answer
28 views

Windows server - moving to new server with AD

I want to add/copy users on new server with AD from server without AD ( Windows 2012). What is recoomended scenario ?
1
vote
0answers
19 views

how to manage Multiple User Acceptance Tests at once

Our current setup has the following environments: development testing staging production We are finding that things are being held back at the testing phase due to UAT taking longer than expected ...
2
votes
0answers
11 views

Creator of the instance

I am trying to figure out how to get information about who is the creator of an instance in the GCP. The use case: I wish to build a certain automation, and one of the requirements is to get ...
1
vote
0answers
32 views

Solaris local users querying centralized LDAP

I have a centralized posix ldap that store some users and a lot of solaris servers that points to. The users stored in ldap are able to authenticate on solaris servers. When I look to ldap access ...
1
vote
0answers
336 views

How can I start puma under a specified user/group?

I'm using Rails 5 and the Puma 3 gam on CentOS. Is it possible (and how?) to specify the user and group under which puma runs when it is started? I need to start it with the appropriate user/group ...
0
votes
1answer
72 views

How to check which linux system user is logging to the mysql database?

Is it possible to check witch user logged to the Debian server log in to the MySql or some solution to create that thing.
1
vote
0answers
60 views

user quota value deleted on reboot

I´ve activated user quota on Debian 9. I´ve set a quota by command edquota -u testuser I´ve set a value for soft (20000000) and hard (20100000) and saved the file. repquota -a shows the newly ...
-2
votes
1answer
527 views

Standard groups and users on RHEL 7 base

Could anyone provide me with a list of the default groups and users which ship with RHEL 7.x base installation?
0
votes
1answer
38 views

How to upload via SFTP so that files and folders belonged to 'www-data' group?

A user112 belongs to www-data group and all website's files/folders belong to that group. However, when I upload new files/folders via SFTP with user112 credentials, the uploaded files/folders belong ...
0
votes
1answer
41 views

Windows Server 2012 to add Domain Controller role / local accounts

I have Windows Server 2012 joined into domain, I am going to migrate it to become also Domain Controller for my domain that will have Remote Desktop services. What would happen with local users that ...
0
votes
1answer
334 views

Cannot login into gerrit

I have a gerrit setup on my server with http as a authentication method and nginx as server. I've created a admin account which works perfectly fine. I was trying to set up a another account with ...
0
votes
1answer
25 views

Why a separate user for MPI jobs?

Many of the tutorials on setting up a cluster with MPI suggest creating a separate user with limited permissions (1, 2). This means running jobs requires logging into a separate user, and is obviously ...
0
votes
2answers
1k views

GCP user groups?

In GCP, are we able to group users like how we do in Active Directory? I was thinking, instead of assigning roles to individual users, I can assign to groups which is more manageable. Thanks.
0
votes
1answer
172 views

Shared folders on EC2 Windows without Active Directory

I'm facing an issue with sharing folders on Windows Server. The application is as follows: There are 3 servers, one "source" and two "targets". The source has a service running on it, which ...
1
vote
1answer
71 views

Give user permission to change IP address from static to DHCP and vice-versa

Let me start by saying I am somewhat of a Linux newb. I have inherited some basic Ubuntu systems to admin (Ubuntu 16.04). I have a couple users that need to plug their machines from the network to ...
0
votes
1answer
355 views

Revert a user modification (usermod) in SSH

I ran usermod -s /bin/false ftpuser2 and now I'm unable to use the FTP service with my secondary account. How can I revert this command? If you ask me what I've tried, nothing, and don't wish to, ...
-1
votes
2answers
125 views

VSFTPD – How to fix this security issue? [duplicate]

I've created a user called example using adduser command and setted its password and everything. That was part of the VSFTPD setup process. However, I've noticed that I can also access using the port ...
1
vote
4answers
6k views

How to create extra root user? [closed]

I have tried making a root2 user which should have the same permissions as root by doing useradd -g root root2 passwd root2 usermod -G root root2 usermod -aG wheel root2 but root2 can still not cat /...
3
votes
0answers
654 views

Restarting a systemd service upon a network 'up' event

My system requires the use of a vpn, of which I use expressvpn which is based upon OpenVpn but uses its own systemd daemon. All connect/disconnect commands must go through the provided binary. In ...
0
votes
1answer
1k views

Manage list of local users via ansible

I have Linux servers that are using local accounts and I would like to find a way, with ansible, to maintain them. My goal is to keep the same list of users on all servers and be able to efficiently ...