Questions tagged [users]

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

605 questions
0
votes
1 answer

Where is the "right" place to copy applications and scripts so they are accessible to every user on ubuntu?

I'm configuring a build machine using Ubuntu 9.10 Desktop as the platform. The first user and of course admin is "developer", and then I created lots of user accounts so people could access shares and other services on the machine. I've got to…
Michael Prescott
  • 655
  • 2
  • 9
  • 15
0
votes
1 answer

what is the total memory usage of all my processes?

I am on a shared host and I am only allowed to use so much RAM. How can I find out how much I am currently using ? I know top and free and ps and some other tools, but they usually only display memory for the entire system, not user-specific. There…
ssc
  • 1,159
  • 3
  • 17
  • 30
0
votes
0 answers

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 if I try pressing advanced, same thing. Adding…
0
votes
0 answers

openvpn access server cluster cannot create a unique ovpn file for all server

i install multiple openvpn access server 2.11 on ubuntu 20 and install mysql for cluster it now i have 5 openvpn server in 1 cluster openvpn_as 2.11 ubuntu 20 1.my problem is ovpn file that download from each server is different from other and i…
0
votes
1 answer

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 and upgrade for the fresh Linux OS. I found that…
Maxfield
  • 103
  • 2
0
votes
0 answers

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 frequently, is there a way to restore this user…
0
votes
1 answer

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} | select-object samaccountname | export-csv…
0
votes
1 answer

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 the MySQL server. The only thing I need is:…
Tim
  • 1
  • 1
0
votes
1 answer

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 Direct login access is disallowed I can mitigate the…
Dave
  • 229
  • 2
  • 10
0
votes
1 answer

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, which shows all disabled users, but can't figure…
0
votes
2 answers

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 sAMAccountName exists I want the script to add a…
0
votes
0 answers

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 followed this…
takeshin
  • 1,471
  • 3
  • 21
  • 28
0
votes
1 answer

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…
0
votes
1 answer

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, however I'm still able to remote desktop with 2…
0
votes
0 answers

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 not disabling sftp for that user, but blacklisting…
tnt80
  • 1