Questions tagged [users]
Humans using a system. They try to break everything. Always handle with caution. Expect the unexpected.
601
questions
0
votes
1
answer
51
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
42
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
0
answers
24
views
Is it possible to monitor / limit file share downloads by users on a domain based on amount of data involved?
I don't think it is, but a client was wondering if we could utilize such a method to monitor / block mass downloads of a whole file share at once while still allowing the user to access the same file ...
0
votes
1
answer
53
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
0
answers
96
views
SFTP user with web server files access
I have a php website which is running on Nginx on Ubuntu using the www-data user.
I want to add SFTP only access (using ssh key) to a new user, having access to the /var/www/websites/company
I've ...
0
votes
0
answers
32
views
PASSWORD - Password change log
Is there any way to check all password change logs for one specific user?
I'm using macOS and since its based on Unix, I thought that this could be the place to post this question.
Someone changed my ...
0
votes
1
answer
23
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
105
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
116
views
How to sync SQL Server Logins with database User after a restore from another server
I have a database server with several databases inside. This server is used as test server to store a set of test databases. The test databases do not come from the same production server thus I can ...
0
votes
0
answers
39
views
Unable to login SSH user to home directory
I have created the user with a home directory inside another user's home directory(i.e. /home/cpaneluser/pulic_html/testuser).
But when I am trying to SSH login with the newly created user. it's ...
0
votes
0
answers
30
views
What is alternative in Centos for Debains staff group?
There is the staff group in the /etc/groups in Debian. According to the https://wiki.debian.org/SystemGroups the purpose of this group is:
Allows users to add local modifications to the system (/usr/...
0
votes
0
answers
306
views
Powershell - Status "Installed(pending removal)" when running Remove-Appxpackage
I'm developing application uninstaller using Powershell.
I using 2 commands:
Uninstall for all users (using -AllUser): Get-AppxPackage -AllUsers <PackageName> | Remove-AppxPackage -AllUsers
...
0
votes
0
answers
23
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
499
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
1k
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
15
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
114
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
15
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
1
answer
141
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
72
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/...
1
vote
1
answer
1k
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
30
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
118
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
17
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
33
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
51
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
3k
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
105
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
46
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
102
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
330
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
108
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
198
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
489
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
28
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
92
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
75
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
276
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
610
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
118
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
64
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
75
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
228
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 ...
0
votes
0
answers
461
views
Attach root-user screen session as non-root user
I have a screen session that is started by root and I would like the non-root account (guest) be able to attach the root user's screen session in multi-user mode with screen -x. Is this possible?
...
2
votes
0
answers
56
views
How can I add a folder to the root of the default user?
There is a program we have that needs to be set up after the user signs in. This change is the same for everyone and only needs to be done once. We are trying to present that app in Citrix and are ...
1
vote
0
answers
35
views
GPO vs attributes for users exctracting using CSVDE
I am currently in doubt about how the GPO is changing the attributes of the users registered in the AD.
I have a Windows Server 2019 Datacenter and I have a few active users that have the flag "...
1
vote
1
answer
347
views
If I have user/host pair "root@<MyMachineName>", is it necessary to keep "root@localhost" in the mysql host/users table? (multi-part Q)
On computer "dexwin10", the user@host pair is as follows:
root@dexwin10
root@%
root@localhost
When people install our software, we want them to be able to access the database from computers ...
2
votes
1
answer
80
views
Is there a way to determine the Hostname or IP of a computer given the AD user account logged in?
If I know John Doe is logged into a workstation on my network, is there a way to determine what computer he is on using his account, in Powershell preferably.
1
vote
3
answers
282
views
What happens if you "print" an application or program in Windows?
What happens if you right click on an application/program in Windows, and click "Print"? I accidentally almost did this when I right clicked a program icon to open from the desktop, but accidentally ...
-1
votes
1
answer
105
views
Deleted users still apear in terminal output
ubuntu 16.04 lts
After creating a user with useradd
sudo useradd -G sudo -m -d /home/user -s /bin/bash user
and then deleting it with
`sudo deluser user`
the user still appears after typing
...