Questions tagged [system-administration]

Use this tag for asking about programs you have written to perform system-administration tasks. Non-programming questions about system administration are off-topic for Stack Overflow and should not be asked here.

system-administration
Filter by
Sorted by
Tagged with
-1 votes
0 answers
23 views

Can not change cluster group name in failover cluster manager [closed]

Due to a misnaming in the cluster group name. I need change the cluster name to another one but when I tried to do it in the failover cluster manager could not do it. This cluster is part of a high ...
SakZepelin's user avatar
-3 votes
1 answer
24 views

How can I download files from google drive using linux terminal [closed]

I would like to download files from my Google Drive account using the Linux terminal. Is there a way how to achieve it? I tried using wget command it doesn't download the files from Google Drive. ...
John Doe's user avatar
-1 votes
0 answers
14 views

Locking NVIDIA GPU for User in a Shared Resource System [closed]

Requirement We have a multi-user shared machine with 2 NVIDIA GPUs (A6000). Multiple users may be logged into the device, and the GPU must be checked to see if it is engaged (via nvidia-smi). ...
varungupta's user avatar
-1 votes
0 answers
19 views

EventID 4625 Audit Failure [closed]

On my rdp sevr every minute I get a lot of 4625 events and can't determine the cause Here is the event: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> - <...
Max's user avatar
  • 44
-3 votes
0 answers
38 views

Ansible: using role dependencies

Trying to create a role for installing and configuring dokuwiki. Dokuwiki uses php. I've made the choice to impose Apache for this particular role. My understanding is that the proper way to install ...
duncan's user avatar
  • 33
0 votes
1 answer
26 views

How to launch an application using a command to run a batch file that starts the application?

Using SSH Net library, I need to send a command to run a batch file that launches an application. The issue is that if I create a simple batch file with the creation of a text file, everything works, ...
Александр's user avatar
0 votes
0 answers
9 views

accessing to file after upload by fabric

I used This code to deploy the file into server `` `def do_deploy(archive_path): """ deploy archive the web servers """ if not exists(archive_path): return False try:...
islam ahmed's user avatar
1 vote
1 answer
31 views

How can i get the publisher of a module before installation?

I need to know if i can trust them or are all Modules from https://www.powershellgallery.com/ published by microsoft ? I saw powershellget(module) on https://learn.microsoft.com/de-de/powershell/...
42 Ott's user avatar
  • 11
0 votes
1 answer
58 views

iDRAC 9: RACADM how to view pdisks in a vdisk [closed]

Currently I'm trying to find a way to location which physical disks are in each virtual disk. In the web iDRAC it has an option to view physical disks but I can't find it in the cli version. I know I ...
Robert Stolle's user avatar
-1 votes
0 answers
45 views

Duo 2 Factor Authentication - Admin API Retrieve Secret Key

I cannot retrieve the secret key from the Duo Admin API. I have created a Duo Admin API with the following authorizations. Grant Applications Grant Read Log Grant Read Resource When looking at the ...
indivisible.invisible.indivi..'s user avatar
-1 votes
0 answers
26 views

doing system administration with a Makefile approach

I would like to automatize some sysadmin tasks, such as: creating user accounts creating folders setting permissions copying config files maybe templating some files if they are too repetitive I ...
tgirod's user avatar
  • 763
-1 votes
0 answers
53 views

How to create a NAS for the office using proxmox and docker container

I have an old server with 16 cores with two sockets, 16 gigabytes of RAM, which does not have a working hardware raid controller, and it will have 4 hard disks. I need to create a NAS maybe someone ...
Denis Binevskiy's user avatar
0 votes
1 answer
75 views

Unique Volume ID path of a volume seemingly corrupted while tryig to create a new junction with New-Item; How to fix, bypass or work around?

I am writing a PowerShell script where-in I create a directory junction. During the development of the script I ran the New-Item command, saw the junction entry was created without looking closer at ...
Umit Cakar's user avatar
-1 votes
0 answers
323 views

Installing software in Windows OS without admin rights and dealing with PATH environment variable

My question here consists of several problems. It will be appreciated if you can provide an answer to either of them. I work in an institution that has limited system users by restricting any ...
AlirezaGH's user avatar
  • 297
-1 votes
1 answer
81 views

Environment problem when administering macos with saltstack tools

I have a few dozen mac computers on which I have a task to install various software (putty, git, draw-io, mosquitto), as well as to curtail the user's permissions (e.g. so that the user cannot ...
PUBG MOBILE NoVeL's user avatar
-1 votes
0 answers
82 views

Setting up Microsoft Entra and Office 365 with AWS domain Hosting, redirection problems when loging in

This is for a school project, we are simulating a company environment and I'm trying to setup an Active Directory with entra, I bought a custom domain from Namecheap, and Hosted it with AWS. I had ...
BrianSal05's user avatar
-1 votes
0 answers
64 views

Pgpool Server Failover

In my on-premises setup for client's project, I have two servers of Pgpool: one having a Pgpool that routes requests from web application to Master or Slave PostgreSQL. The other pgpool server is the ...
Abhimanyu2907's user avatar
0 votes
0 answers
101 views

Psexec doesnt execute .bat

Ive been looking in other posts and i dont know why this script isnt working, ive been looking for syntax error.The script copies the .bat file fine in C: ,the .bat works locally, but remotely doesnt ...
AALV8's user avatar
  • 85
0 votes
1 answer
60 views

I need help figuring out where my code is getting hung up at

I have been tasked with coming up with a PowerShell script that I can run on computers at my organization to cleanup old user profiles in Windows. The goal of the script is get a list of users on a pc,...
Sloan's user avatar
  • 1
1 vote
0 answers
14 views

How can I run a .exe as an on a remote computer/computers with elevated privileges using a poweshell script? [duplicate]

I need to run a Powershell script that executes a specific .exe file at a specific windows file path. The .exe file needs to be run with certain custom parameters and it needs to be run as an ...
jkev89's user avatar
  • 11
-1 votes
1 answer
54 views

Custom date string inside a log without modifying the exit of the cmdlet

Heres a script that gets all printers installed on a range of pcs , i have trouble getting the date inside the log without modifying the exit of the command. I would like to put the date on top/down ...
AALV8's user avatar
  • 85
0 votes
1 answer
95 views

Psexec doesnt give me the full results

Ive been trying this script using psexec to get processes of a range of pcs, i make it work but i dont get the results on the table that it should appear, ive been searching on psexec posts but i dont ...
AALV8's user avatar
  • 85
0 votes
2 answers
41 views

debian df -h vs du -hs, unable to find taken space

I have a partition which is almost filled up (/) df -h Filesystem Size Used Avail Use% Mounted on udev 10M 0 10M 0% /dev tmpfs 6.3G 675M 5.6G 11% /run /dev/md2 ...
Daphoque's user avatar
  • 4,520
3 votes
0 answers
359 views

"Import-Module MSMQ" fails on PowerShell @ Windows 11 Home/Pro

I had a script creating MSMQ queues on Windows 10 and everything worked fine. On Windows 11 however (Pro and Home, to be specific), it fails. It started to fail by just not finding New-MsmqQueue: The ...
Milosz Krajewski's user avatar
0 votes
1 answer
96 views

How to get the exit error of the prompt on a log

Hi i made a script that checks disk space and transfers it on to a log and i want to put the error that pops on the prompt inside the log heres my code: $equipos = "D:\SCRIPTSM\AAAA\equipos.txt&...
AALV8's user avatar
  • 85
-1 votes
0 answers
102 views

Microsoft update- .NET Framework- Vulnerability Mangement

The version of the Mscorlib.dll file (in .NET) has been updated from 4.7.4038.0 to 4.8.4645.0(C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Mscorlib.dll has version: 4.7.4038.0-> C:\Windows\...
indev6's user avatar
  • 1
1 vote
2 answers
487 views

Put colour on a popup/message in powershell

I want to put in red some words to test a msg that i will deploy/activate when i connect remotely to a pc. I have tried placing at the begining: Set-PSReadLineOption -Colors @{ ContinuationPrompt = '...
AALV8's user avatar
  • 85
1 vote
1 answer
1k views

Set Password of Local User Administrator for Client pc via GPO

In my environment, I am trying to create two different local users for my all client pc; built-in-administrator as a backup account, and custom local admin for implementing LAPS. I am creating a ...
Samrat Bikram Shah's user avatar
0 votes
1 answer
502 views

netsh advfirewall firewall outbound rule not blocking connections

I am creating an outbound connection blocking firewall rule for MS Edge browser in Windows 11 with the following command: netsh advfirewall firewall add rule name="rulename" dir=out action=...
AashishKSahu's user avatar
-1 votes
0 answers
28 views

Create own Proxy server on hosting web server (Apache, nginx, django, node)

Hello to all stack users. Our provider has blocked many sites. I tried to buy a VPS/VDS server. But many VPS, VDS servers are blocked. I didn't find a working VPS/VDS server. So, can I buy a hosting ...
Mkurbanov's user avatar
  • 335
-1 votes
0 answers
1k views

Can't get a Pterodactyl node to start when using a port forwarded panel

I have a dedicated server that I run at home. I'm trying to port forward the pterodactyl panel but now I can't get the node to run. I created a new node with FQDM as the public ip of the panel, which ...
Bram's user avatar
  • 41
-1 votes
0 answers
31 views

I don't understand the behavior of GPO

I recently received a powershell script that I have to deploy by GPO to all computers and servers. But before deploying it, I want to understand in deepth what will happen. I don't want to break a ...
deomorphisme's user avatar
0 votes
1 answer
59 views

BIOS doesn't read IOS file from USB drive

I am currently having Linux Ubuntu running on my machine. I want to dual boot it with Linux Kali, however, after sticking USB drive I see EFI amongst boot options, when I select EFI. What I have done ...
EDOYou's user avatar
  • 25
0 votes
3 answers
73 views

Cut awk field value

I have this "answer section" from a dig call: www.google.com 300 IN A \<ip_address\> I want to extract the sub-domain www out of the www.google.com to save in a variable. I have tried ...
Koyejo's user avatar
  • 17
-1 votes
0 answers
47 views

List Server which are not part of this deployment in server pool

Is there a way to get the list of servers available to add to the server pool? I need to get the server list via PowerShell which is listed as Server Manager (Refer to attached Screenshot)
Prakash's user avatar
  • 15
-1 votes
1 answer
335 views

Harbor registry proxy cache vs replication [closed]

I'm new to Harbor registry. I was asked to propose an architecture for harbor in my company. I proposed at first to use an architecture based on proxy cache. But the CISO refused to use proxy cache ...
mastertopg's user avatar
0 votes
0 answers
459 views

List of All Installed APP for each user in AD

I have written a PowerShell script that should generate a report with all installed applications for each AD user. Unfortunately, it only remembers one list and returns the same list of apps each time....
A K's user avatar
  • 1
0 votes
1 answer
279 views

Cannot get sertificate from Certbot --apache

When I try the command sudo cerbot --apache -d page1.com it returns this error: Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you ...
Валентин Д.'s user avatar
-1 votes
0 answers
133 views

How to grant permissions on a MySQL database by foreign key value

I'm administering a MySQL database for a handful of different users. At the moment, I have a table which specifies user information. This table is then referenced as a foreign key by all downstream ...
rbedford's user avatar
-1 votes
0 answers
11 views

Domainspoofing Prevention with exceptions

I'm a sysadmin and I have to find a way to prevent domainspoofing with mails. Normally I'd do it with a mailflow-Rule in exchange onprem. The problem is, we have mail-newsletter, from where some ...
filip.ris's user avatar
0 votes
0 answers
91 views

Too many redirects on nginx and django applicaiton.Redirecting all http request to https in django, nginx, uwsgi

I'm working on legacy code and trying to configure nginx and ssl certificate of the django based application as I'm not a system adminstrator but I'm trying. I have searched and tried almost all ...
Rasuljon Kurbanov's user avatar
0 votes
0 answers
132 views

How to create two different firewall rules with the same ID and name that applies to different profiles using PowerShell?

I'm trying to create firewall rules that have same name, but applies to different profile. Like this If I use this command Set-NetFirewallRule -ID <Rule ID> -Profile Public -Enabled True -...
noobie's user avatar
  • 464
-1 votes
0 answers
154 views

non-root user throws permissions error trying to READ a file in volume

In my Dockerfile, I create a non-root user and set permissions on the binary and non-root user's workspace with the following: RUN groupadd --gid 1000 non-root-user \ && useradd -g 1000 ...
omgirok's user avatar
  • 174
0 votes
1 answer
206 views

Why i cant use ufw deny to "Nginx HTTP" from x.x.x.x?

How I may add this rule in my ufw list? ufw deny to "Nginx HTTP" from x.x.x.x And I know about nginx.conf, but this variant does not suit me for one reason. I tried the command above but it ...
Ginger4567's user avatar
1 vote
1 answer
32 views

how to black list a command in apache2 web server

Suddenly my server start getting hang. I observed that all CPU cores are 100% in use. I used htop command to see which request/service making it overloaded. I found following request using maximum CPU ...
Naser Aslam's user avatar
0 votes
0 answers
307 views

RStudio on Windows 2012 R2 cannot work without VC++ 2015 but it will not install

I have all updates on my installation of Windows 2012 R2 but for some reason none of the solutions suggested work. I require api-ms-win-crt-runtime-l1-1-0.dll to run RStudio, unfortunately, I have no ...
Patchell Brook's user avatar
0 votes
1 answer
375 views

How to enumerate local users and groups on a remote machine using RPC?

I'm trying to write a RPC client from scratch. My use case is enumerating local users and members of Built-in\Administrators group on a remote machine (Both machines are domain joined). I know this ...
pralaynath_gainda_swamy's user avatar
1 vote
1 answer
136 views

Sending email via curl in Linux

i am using command below for sending emails via curl in a linux docker container. curl ${REPORT_SMTP_SERVER} --mail-from ${REPORT_MAIL_FROM} --mail-rcpt ${REPORT_MAIL_TO} --upload-file error.txt This ...
olti's user avatar
  • 111
1 vote
2 answers
144 views

Copy values from existing CSV column and add to new column with PowerShell

I have a CSV with 4 Columns. I am trying to copy values from the costs column to the corpcosts columns based on values from the department number column. Basically, any cost with department number ...
CoCoBl's user avatar
  • 47
1 vote
1 answer
544 views

Query Multi-Domain for SamAccountName using PowerShell

I'm trying to populate an employee ID column in a CSV file by querying Active Directory against another column in the CSV file called "OwnerEmail" (Which is the user principal name). The ...
CoCoBl's user avatar
  • 47

1
2 3 4 5
20