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.
Questions tagged [system-administration]
983 questions
2
votes
1 answer
Finding Which services are running in target windows host based on given service list and start if the service is not running
I have a set of windows services and need to find out whether those services are running in the target windows host. If at least one of the services no running I need to start those services and need to set the start mode to auto.
- name: Check…

alphablack
- 23
- 5
2
votes
1 answer
WinGPG: "Assign 'Ctrl+Alt+E' to 'Encrypt files/clipboard' failed."
I am trying to install WinGPG For Windows 32/64bit version from scand
After download and install, I click the lock icon to open WinGPG and I see 4 errors starting with: "Assign 'Ctrl+Alt+E' to 'Encrypt files/clipboard' failed."
The other 3 are…

Bix
- 760
- 8
- 22
2
votes
2 answers
Sql Server 2005 connection log
I have multiple databases on one SQL Server 2005 server. I would like to know a way using which I can see all the connections made to a particular database today and the activities performed.
Thanks in advance
Joe

joe
- 589
- 5
- 16
2
votes
4 answers
Need help setup windows server 2008 SMTP server
I am trying to setup windows server 2008 smtp server to relay emails to gmail smtp. Everything appears to be setup but it is not sending emails. Could you please help me figure out whats wrong.
Below is the setup:
Windows server 2008 with SMTP…

mamu
- 12,184
- 19
- 69
- 92
2
votes
1 answer
uwfmgr with excluded directory increases RAM usage
While using the Unified write filter on IoT Windows 10 the RAM usage is increasing.
On the drive C:\ProgramData\VHD is execluded from filter.
uwfmgr.exe file add-exclusion "C:\ProgramData\VHD"
Current state of RAM usage on uwfmgr: uwfmgr overlay…

Tib Schott
- 94
- 1
- 9
2
votes
2 answers
ubuntu KVM guest with no network connection after configuring network bridge
I am trying to add KVM guest (Ubuntu 18.04) to local network like other real servers in the network. I configured KVM bridge interface in the host system (Ubuntu 18.04) and it works fine with connection. Host system is reachable over the local…

NoACoder
- 97
- 1
- 9
2
votes
2 answers
Java security policy file question
Okay guys, I am trying to get the interpreter to use my .policy file for some JAAS stuff I am doing. When I try to enter the extra entry (ie. policy.url.3=file:/C:/Test/raypolicy
) in my Windows:java.home\lib\security\java.security
file, it…

Mike
- 1,590
- 8
- 27
- 41
2
votes
1 answer
Why do I get application errors when I stop and restart my mongod service
If I cancel and restart my mongodb on the default port, I reconnect fine and there aren't any problems.
When I do so on my 27018 port, it seems to reconnect in my bash window and I get this statement at the end of the restart:
initandlisten] waiting…

Jeremy Smith
- 14,727
- 19
- 67
- 114
2
votes
4 answers
CHMOD and the security for the directories on my server
I have a folder on my server on which I have changed the permissions to 777 (read, write and execute all) to allow users to upload their pictures.
So I want to know, what are the security risks involved in this?
I have implemented code to restrict…

Ben McRae
- 3,551
- 13
- 36
- 31
2
votes
2 answers
Is there a way to disable the write behind caching policy on a disk drive programmatically using C# in windows?
I need to remove write behind caching on the disk drives of our servers. Doing so in windows ==> Device Manager ==> Disk Drives ==> (right click) Properties ==> Policies ==> (CheckBox) Enable write behind caching | is easy but windows re-enables it…

Blixem
- 59
- 6
2
votes
1 answer
How do I give sysadmin right to a user for just one database in a SQL Server instance?
If I run this query, does that give sysadmin rights to the database the query is being run on or to all databases?
exec sp_addsrvrolemember N'username', sysadmin

Nick Strupat
- 4,928
- 4
- 44
- 56
2
votes
1 answer
Why is /usr/lib/default-java pointing to the "wrong" jdk?
I got a linux mint pc with openJDK 1.11 pre-installed. I installed the openJDK 1.8. package and set the default java (sudo update-alternatives --config java) to it. All is working fine (java -version outputs the correct java version). Now that I try…

alex
- 180
- 1
- 13
2
votes
1 answer
Incompatible gettext and git installed by Homebrew?
$ git status
On branch master
...
dyld: Library not loaded: /usr/local/Cellar/gettext/0.19.4/lib/libintl.8.dylib
Referenced from: /usr/local/bin/gettext
Reason: image not found
dyld: Library not loaded:…

qazwsx
- 25,536
- 30
- 72
- 106
2
votes
1 answer
Is there any way to push and pull project from Flash drive instead of Git?
I need to push a project from my local machine to a flash drive then pull this project to server which not connected to network

Aly Radwan
- 199
- 3
- 6
2
votes
1 answer
How to create a directory in the home of multiple users?
I have 20 users by name user1,user2,user3....user20. I now want to add a directory new_dir to the home directory each of these users .
I’m able to do this by logging in into each user one at a time and creating the directory . But since the number…

Deeraj Theepshi
- 183
- 3
- 10