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
0 answers
11 views

NOPASSWD for Windows Domain Users not Working SLES 15 SP3

On SLES 15 SP3, We are unable to SUDO to root from normal domain user account without password where as on SLES 15 SP2 this is not the case. We have compared /etc/sudoers on both systems which are ...
user avatar
  • 101
0 votes
1 answer
92 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}...
user avatar
0 votes
1 answer
41 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 ...
user avatar
  • 1
0 votes
1 answer
367 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 ...
user avatar
  • 161
0 votes
1 answer
345 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, ...
user avatar
0 votes
0 answers
25 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 ...
user avatar
0 votes
1 answer
146 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 ...
user avatar
0 votes
0 answers
235 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 ...
user avatar
  • 1,431
0 votes
0 answers
55 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 ...
user avatar
0 votes
1 answer
31 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 [...
user avatar
0 votes
1 answer
351 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, ...
user avatar
0 votes
0 answers
147 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 ...
user avatar
0 votes
0 answers
48 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 ...
user avatar
0 votes
0 answers
42 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/...
user avatar
0 votes
0 answers
421 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 ...
user avatar
0 votes
0 answers
29 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 ...
user avatar
  • 1
0 votes
2 answers
847 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 ...
user avatar
2 votes
1 answer
2k 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 ...
user avatar
  • 123
0 votes
1 answer
16 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 ...
user avatar
1 vote
1 answer
169 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]...
user avatar
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 ...
user avatar
0 votes
2 answers
183 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 ...
user avatar
0 votes
0 answers
90 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/...
user avatar
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 ...
user avatar
-1 votes
1 answer
65 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? ...
user avatar
  • 1
0 votes
1 answer
166 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 ...
user avatar
  • 117
0 votes
0 answers
30 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
user avatar
0 votes
0 answers
34 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 ...
user avatar
  • 101
0 votes
0 answers
53 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 ...
user avatar
0 votes
1 answer
4k 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 ...
user avatar
0 votes
1 answer
240 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 ...
user avatar
0 votes
1 answer
63 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 ...
user avatar
  • 1,623
-1 votes
2 answers
111 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, ...
user avatar
1 vote
0 answers
397 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, ...
user avatar
-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 ...
user avatar
  • 1
2 votes
1 answer
245 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 ...
user avatar
  • 21
1 vote
1 answer
569 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 ...
user avatar
  • 11
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....
user avatar
0 votes
1 answer
101 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 ...
user avatar
0 votes
3 answers
77 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 ...
user avatar
  • 35
1 vote
0 answers
315 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 ...
user avatar
  • 11
0 votes
1 answer
684 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}...
user avatar
  • 1
0 votes
2 answers
128 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 ...
user avatar
0 votes
1 answer
82 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 ...
user avatar
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 ...
user avatar
0 votes
2 answers
241 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 ...
user avatar
  • 15
0 votes
0 answers
497 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? ...
user avatar
2 votes
0 answers
66 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 ...
user avatar
  • 660
1 vote
0 answers
36 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 "...
user avatar
  • 111
1 vote
1 answer
375 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 ...
user avatar

1
2 3 4 5
13