Questions tagged [users]
Humans using a system. They try to break everything. Always handle with caution. Expect the unexpected.
608
questions
0
votes
2
answers
17
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 ...
0
votes
2
answers
65
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/...
0
votes
0
answers
25
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 ...
0
votes
0
answers
213
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 |...
0
votes
0
answers
44
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 ...
0
votes
0
answers
125
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 ...
2
votes
3
answers
1k
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, ...
3
votes
0
answers
414
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
...
-1
votes
1
answer
79
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?
2
votes
0
answers
689
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 ...
0
votes
1
answer
432
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 ...
0
votes
0
answers
74
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 ...
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}...
0
votes
1
answer
173
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 ...
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
...
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, ...
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 ...
0
votes
1
answer
101
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
[...
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, ...
0
votes
0
answers
216
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 ...
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 ...
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
...
0
votes
1
answer
21
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 ...
1
vote
1
answer
548
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]...
0
votes
0
answers
30
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 ...
0
votes
2
answers
876
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 ...
0
votes
0
answers
431
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/...
2
votes
1
answer
3k
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 ...
-1
votes
1
answer
286
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?
...
0
votes
1
answer
509
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 ...
0
votes
0
answers
104
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
0
votes
0
answers
54
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 ...
0
votes
0
answers
62
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 ...
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
...
0
votes
1
answer
914
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 ...
0
votes
1
answer
125
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 ...
-1
votes
2
answers
177
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, ...
1
vote
0
answers
590
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, ...
-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 ...
2
votes
1
answer
450
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 ...
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 ...
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....
0
votes
1
answer
271
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 ...
0
votes
3
answers
325
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 ...
1
vote
0
answers
530
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 ...
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}...
0
votes
2
answers
227
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 ...
0
votes
1
answer
199
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 ...
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 ...
0
votes
2
answers
500
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 ...