Humans using a system. They try to break everything. Always handle with caution. Expect the unexpected.
Questions tagged [users]
605 questions
0
votes
2 answers
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 the same as to any other answers I could find.
For…

Kl3m Michard
- 3
- 1
- 3
0
votes
1 answer
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 Windows Server 2008 Active Directory.
Thanks in…
0
votes
0 answers
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 users to execute the kill command in a bash…
0
votes
2 answers
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 Windows to create the profile:
psexec.exe -u…

Pflipper
- 1
- 1
0
votes
0 answers
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/pam.d/password-auth-ssh
#%PAM-1.0
# This file is…
0
votes
1 answer
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 in their directories.
Is it possible to…

haba713
- 117
- 6
0
votes
0 answers
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
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 my location block for /users/? So far I have the…

nthnchu
- 101
- 1
0
votes
0 answers
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 do it but I dont wanna to break down a system.…

Morbius
- 1
0
votes
1 answer
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
By default, SCCM launching the script in system…

Rhonelaan 30
- 1
- 1
- 2
0
votes
1 answer
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 under OU A
they are Member to the Groups X Y Z…

Adam2020
- 1
0
votes
1 answer
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 let a certain user user1 be able to "become" (as…

einpoklum
- 1,652
- 3
- 21
- 31
0
votes
1 answer
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 realtime
furthermore, adapt this level not only to…

Radio Controlled
- 113
- 4
0
votes
3 answers
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 0.0 0.1 388420 12604 ? Ssl 08:22 0:00…

geets
- 35
- 6
0
votes
1 answer
[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} !^http://(www\.)?localhost [NC]
RewriteCond…

Jakkah
- 1
- 1