Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [users]

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

Filter by
Sorted by
Tagged with
0 votes
2 answers
61 views

AD Users sharing a Home Folder/Profile

I'm facing a unique challenge. As part of our transition to a new Active Directory Domain, we must ensure compliance by assigning each user a unique User Account identified by their name.surname Given ...
gorokizu's user avatar
  • 113
0 votes
2 answers
164 views

How do I list all existing open vpn certificates

I need to know how to view existing certificates in OpenVPN, the internal documentation passed me (written by a past employer) contains creating, removing, retrieving and revoking user, see below /etc/...
Emma's user avatar
  • 1
0 votes
0 answers
33 views

Can i make different templates of displayName in AD? Windows Server 2022

First of all, sorry for my lack of english. I need to know if I can create different templates of displayName. Recently, I discovered the ADSI Edit utility and helped me to modify the displayName when ...
gmag's user avatar
  • 1
0 votes
0 answers
285 views

I need to only get all active users in a Security Group, i can list all users but i get both active and inactive users

Need help to correct the scipt. The group FA-xxx-yyy-zzz has loads of users and undergroups in it. This what i figured out so far is: Get-ADGroupMember -Identity "FA-xxx-yyy-zzz" -Recursive |...
Sami Metsokumpu's user avatar
0 votes
0 answers
49 views

sanitize folder names before creation

How prevent the injection when creating folders with user supplied paths in a unix like system? Ideally subfolders can be created only in selected or working folder. Although the creation of folder in ...
Serge's user avatar
  • 101
0 votes
0 answers
138 views

Adding users from DC to remote desktop users

How to add a user from DC to allowed remote desktop users for certain PC? It lets me choose only users on local machine, although I am connected with a user defined in DC server. A domain user. Even ...
SandShriner's user avatar
2 votes
3 answers
2k views

Enabling Protected Users on Windows 2019 AD prevents users from logging in

Our Windows Server 2019 AD is setup and working well. Due to the Outlook exploit (CVE-2023-23397), we implemented one of the recommendations - move users to the Protected Users group. Since then, ...
CustomX's user avatar
  • 121
3 votes
0 answers
438 views

Unable to su or ssh as anyone but root on CentOS 7

I seem to be unable to ssh or su as a local user on my CentOS 7 machine as of today. $ adduser ndejay $ passwd ndejay Changing password for user ndejay. New password: Retype new password: $ su ndejay ...
Nicolas De Jay's user avatar
-1 votes
1 answer
88 views

How to get password without changing it in linux server

I have linux server ubuntu 20.04 Any command to show you password belong to user ? or a file in server which can show passwords?
armin's user avatar
  • 1
2 votes
0 answers
806 views

User in Administrators group has not the same rights as Administrator (Win 2022 R2) for fresh build

We've been having the issue where a domain user in the builtin\Administrators group, does not have the same access as Administrator, but only on fresh builds of server 2022. Servers that we upgraded ...
Chris's user avatar
  • 21
0 votes
1 answer
513 views

Why create a new user with sudo privilege when you are the only person manage the server?

Please share some true use cases of benefits when you are the only admin of manage VPSs, I'm just hosted my first WordPress site. A lot of guide I read online suggests creating a new user after update ...
Maxfield's user avatar
  • 103
0 votes
0 answers
78 views

How to enumerate users when switching users on Windows Server 2022?

After Microsoft pushed an update, users cannot be enumerated when switching users, and the user name must be entered every time. I have multiple users on my computer that need to be switched ...
埃博拉酱's user avatar
0 votes
1 answer
2k views

Retrieving Active Directory Users with no Email address from a certain group in powershell

I'm trying in powershell to output all AD users from a certain group with no data in the email address field. I have the following command: get-aduser -filter * -properties * | where {!$_.emailaddress}...
user970505's user avatar
0 votes
1 answer
181 views

Get usernames and IP addresses via tcpdump (or another capture tool) connecting to a MySQL server

I've MySQL installed on my Ubuntu server. Because I would like to clean up my users they're currently active in MySQL, I would like to check first which users - and from which host - are connecting to ...
Tim's user avatar
  • 1
0 votes
1 answer
3k views

SSH refuses to allow specific user to login directly via ssh

I have a specific user (Lets call them user through out this post) on a host that displays the following errors when trying to ssh via public key auth: PTY allocation request failed on channel 0 ...
Dave's user avatar
  • 346
0 votes
1 answer
3k views

How can I get a list of all disabled domain users with group membership, one user per line, but omit results for users that have no membership?

For example, when our users are terminated, we need to remove all groups. I want to check for groups still connected to user, but not show the users where the groups are removed. I have the following, ...
Owen Williams's user avatar
0 votes
2 answers
2k views

PowerShell add users, if exist, add a number

Im creating active directory users from the file usersFile2.csv The users gets added. Right account information is added, for example firstname, lastname, etc... The PROBLEM. If a user with the same ...
gunnar20008's user avatar
0 votes
1 answer
105 views

How do 2 users on ansible node connect to thesame worker node

I set up 2 new users with their respective key pairs,.. their public keys ve been established on the remote host. The problem am having is I passsed the ssh keys on the host file as follows [...
DevOpwild's user avatar
0 votes
1 answer
2k views

Only Allow 1 user to Remote Desktop at a time (Windows 2019)

By default Windows 2019 allows 2 users to remote desktop at one time. Is there a way to restrict this even further to allow only 1 remote desktop user at a time? I tried the following tutorial, ...
user1783686's user avatar
0 votes
0 answers
244 views

blacklisting download from sftp for a single user

I need to create a user that can use ssh, but not download files through sftp. I've googled a lot, and had try a lot of configurations, but none of them work. So I think the only way to do it, it's ...
tnt80's user avatar
  • 1
0 votes
2 answers
4k views

Browser downloads the file instead of opening php files

So, I'm posting an answer, because after the twice clean-reinstall, I have set things a but differently (to my point of view). Like I said above, I face a dilemma, since none of the config I have is ...
Kl3m Michard's user avatar
2 votes
1 answer
10k views

change permission of mounted folder in linux

i mounted a folder from windows to Linux's like so in windows end the permission is set to everyone and on my linux end i did this # mount -t cifs -o username=sprite//173.11.111.99/win-share /mnt ...
kunz's user avatar
  • 133
0 votes
1 answer
22 views

How to create global company policy that will set user photos from folder in WS AD

I want to set user profile pictures on logon screen via policy. How can something like that be made? I have all photos in one folder, for each employee. Is there an easy way to do that? I'm using ...
Jakub Socała's user avatar
1 vote
1 answer
591 views

Usage of with nested to cat multiple files

I need to create users inputting from 2 list files as below: cat user.yml user1 user2 user3 cat group.yml group1 group2 group3 cat playbook.yml - name: Add the user user: name: "{{ item[0]...
pugazhendhi's user avatar
0 votes
0 answers
38 views

Allow to kill mounhelper to all users

I have some machines with kubuntu 20lts, everyday when the machine start and the user's login, smb4k mount shares. But sometimes some shadows didn't mount because mountheper hungs. I need to allow all ...
Cesar Daniel Lopez's user avatar
0 votes
2 answers
951 views

Trying to programmatically create new Windows user's profile

Trying the low-impact solution as mentioned in the post: how can I programmatically cause a new windows users profile to be created Suggestion was to run a command as that user using psexec.exe for ...
Pflipper's user avatar
0 votes
0 answers
471 views

allow ssh AD authentication while keeping few local users

Need to use AD for user authentication in Linux servers, while keeping only a limited (1-2) local users. AD authentication is done through the Kerberos. pam.d file configuration as follows cat /etc/...
Prabath Lasantha's user avatar
2 votes
1 answer
4k views

SFTP user creation in Windows OpenSSH

We have installed an SFTP server as per https://winscp.net/eng/docs/guide_windows_openssh_server Now we are able to connect via WinSCP and FileZilla. But by default, account login to SFTP is Windows ...
Mavuni m's user avatar
-1 votes
1 answer
325 views

Windows 10: sticking several domain accounts to the login screen

I would like to stick permanently 3 domain users to the login screen in Windows 10. So that they choose their account and enter the PIN, but without entering the login and password. Is it possible? ...
Daniel's user avatar
  • 1
0 votes
1 answer
522 views

Multiple LDAP servers

I have two OpenLDAP servers: the server A with Linux VMs a1 and a2 connected to it (PAM LDAP) the server B with Linux VMs b1 and b2 connected to it (PAM LDAP) The servers have different users stored ...
haba713's user avatar
  • 117
0 votes
0 answers
108 views

Add user home directory depending hostname

Is it possible to add a list of users and change the home directory of each user depending on the host name of the server? Thanks in advance
Markus Tosi's user avatar
0 votes
0 answers
63 views

How do I harden nginx to serve user-generated content?

nginx, is, as far as I know, relatively secure. I'm working on a site that lets users upload content to their own paths on the site. I use proxy_pass for my main site at /, but how should I configure ...
nthnchu's user avatar
  • 101
0 votes
0 answers
64 views

Should I remove almost all users in Ubuntu?

I want to defend my ubuntu server from unauthorized logins. I have an all users list. There are a lot of users. You can see a list on screenshot. Should I remove all the users except mine? I want to ...
Morbius's user avatar
0 votes
1 answer
7k views

How to run a powershell script with logged in user using SCCM 2002

I have a PowerShell script (package) which need to run with the logged in domain user account in order to get a file from intranet site. It should be silent installation without any user intervention ...
Rhonelaan 30's user avatar
0 votes
1 answer
938 views

list the users name in specific OU+ the Groups

I need to write a Powershell Script to list the users name in specific OU+ the Groups in which the user belongs to (but I need to list specific Group and not to see all Groups). Ex : OU : A Users ...
Adam2020's user avatar
0 votes
1 answer
132 views

Let one user become another user without a password?

On (most) Linux systems, we can let a specific user su into anyone they want by placing him in the wheel group and making some settings in /etc/pam.d/su. I want to do something more limited: I want to ...
einpoklum's user avatar
  • 1,744
-1 votes
2 answers
182 views

New Debian 10 server: add client websites in /home/clientname/webapps/ or /var/www/clientname/webapps/? [closed]

I'm used to setting up client websites in /home/clientusername/ with subdirectories such as webapps/, html/, cgi-bin/, logs/ etc. (for both Apache and NGINX) so clients can manage their own files, ...
Dave Everitt's user avatar
1 vote
0 answers
601 views

Ubuntu Server 16.04 log message

I've recently started running check_mk (few days) to monitor my network and servers and started receiving critical service errors for service user@1002. When I take a look at the logs on the server, ...
CrunchyToast's user avatar
-1 votes
1 answer
110 views

Recover files on a Windows 7 host from a user who has been deleted from active directory?

Is there a way to recover data (Files, Programs, etc...) on a Windows 7 machine assigned to a specific Active directory user, that has since been deleted from Active Directory? For some reason the ...
Dustin's user avatar
  • 1
2 votes
1 answer
461 views

How to permit the chown use to a regular user, but only on its home directory?

I'm trying to allow regular user A to execute chown command to a list of user B,C,D having as object any files located into its home directory. In other words, I would try to limit the chown "root ...
Manuel's user avatar
  • 21
1 vote
1 answer
1k views

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 ...
gun88's user avatar
  • 11
1 vote
0 answers
30 views

pre launching systemd user processes

I've configs in place to start resque-first.target, then resque-metro.target and finally resque-prisma.target, but for some reason they all start at the same time systemctl --user cat resque-worker....
luisgarcia's user avatar
0 votes
1 answer
284 views

Setting nice value of all user processes in realtime based on his CPU usage

In order to balance users CPU consumption on a shared computing server, I would think it very useful if one could: set the nice level for all processes of a user furthermore, adapt this level in ...
Radio Controlled's user avatar
0 votes
3 answers
355 views

What determines the user a services started

I thought, that the service files under /lib/systemd/system/ determine as what user a service is started. But apparently that's not (always) the case. Here's an example: ~# ps faux ... whoopsie 1445 ...
geets's user avatar
  • 35
1 vote
0 answers
567 views

What is the default user when running job/playbook from AWX?

I am running a job/playbook (git source) from AWX GUI, but it keeps connecting over ssh to managed hosts as a root user. In credentials I filled SSH PRIVATE KEY, USERNAME is blank and the default ...
Karol's user avatar
  • 11
0 votes
1 answer
1k views

[Wordpress][htaccess] Prevent not logged in users access to pdf, doc, docx, odt files

i have the following code on my htaccess, it works for all users but i want deny access only to not logged in Wordpress users, anyone can help me? Thanks! RewriteEngine on RewriteCond %{HTTP_REFERER}...
Jakkah's user avatar
  • 1
0 votes
2 answers
243 views

Users cannot log into VM server that is joined to a DC

I've been having a problem recently where i have a VM machine that is running windows server 2012 which is connected to a DC running the same OS, on the DC i have ADUC running with all of my users ...
ensignonline's user avatar
0 votes
1 answer
225 views

LDAP Linux import user shell config files

I want to know if it's possible to import some user config files (shell config for zsh or bashrc for example) from our LDAP when a user login for the first time ? It's exactly what mak /etc/skel but ...
Navino16's user avatar
1 vote
1 answer
92 views

Can we increase MTSUser validity?

Our Content Manager Tridion uses a Windows account "MTSUSer" which gets expired in every 90 days, then we request windows team to reset the password as we do not have admin rights in production. Is ...
Neelesh Raghuvanshi's user avatar
0 votes
2 answers
544 views

SELinux port type to reserve port for user PHP in-built webserver

I am trying to get an application running which uses the PHP inbuilt webserver. It gives permission denied because of SELinux running on the system. There is no policy for the PHP inbuilt webserver as ...
Kaizu's user avatar
  • 25

1
2 3 4 5
13