Latest Server related questions

Score: 1
woodyboow avatar
How to create a new user with sysadmin privilege in Azure SQL Server?
tr flag

I need to create a new user with sysadmin privilege.

I went to the Azure portal > Query Editor. Then I run this commands.

Unfortunately I got this error:

enter image description here

Any help is welcome.

Score: 0
jQuery AJAX post method throws 405 (Method Not Allowed) error
cn flag

I'm new in AJAX and have been learning the functions of jQuery get() and post() methods recently. While the get() method worked smoothly, I've faltered while coming across the post() method, that throws an error saying: "405 (Method not allowed)" every time I try to invoke it.

Using Bootstrap, I have a simple HTML file named get_post.html that has a div, paragraph and button elements each. Using  ...

Score: 1
firewalld: blocking outgoing connections blocks also incomming connections
in flag

log4shell has caused us to improve the security of some servers. We want now also block outgoing traffic (as possible). The current firewall rules are:

/> firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: eth0
  sources: 
  services: dhcpv6-client https smtp ssh
  ports: 143/tcp 3000/tcp 4949/tcp 8080/tcp 12999/tcp 25/tcp 1194/tcp
  protocols: 
   ...
Score: 0
moritzg avatar
Partition RAID or multiple RAIDs per partitions
sy flag

I'm trying to setup a RAID 1 with two HDDs. This is what I'm trying to achieve:

  • data partition (ext4)
  • Mac TimeMachine backup partition (HFS+)

I want to have RAID over both partitions, but I still want to be able to pull one of the drives and connect to the Mac via SATA/USB and use the HFS+ partition to be able to use the backup directly without needing the NAS. Furthermore, if one drive fails it s ...

Score: 0
Sara June avatar
How to create a service connection with access to all namesapces in azure kubernetes pipeline?
cn flag

I tried to create a service connection to azure kubernetes cluster, but it is asking to provide namespace mandatory.

So I provided one namespace and set the cluster admin option selected.

cluseteradmin enabled

And in the release pipeline, using this connection, I tried to create a secret but in a different namespace.

But I got error as forbidden during release deployment.

error

How to create a service connection with access to a ...

Score: 0
Theo Cerutti avatar
Docker containers no internet after adding a static IP, netplan (host)
in flag

I am a newbie with netplan.
The context is that I want to add a failover IP (provided by OVH) to one of my server to provide HA (this IP will be failover/moved between all of my servers, only one server will hold this IP).
I followed this guide to configure my IP failover on my servers: https://docs.ovh.com/us/en/public-cloud/configure_a_failover_ip/#ubuntu-2004_1 (my servers are running under ubuntu ...

Score: 1
chuacw avatar
How to enable Windows Hello on stand-alone server
cn flag

Does anyone know how I can enable Windows Hello facial sign-on a Windows 2019 stand-alone server?

I am the administrator of this stand-alone server, and have installed the Windows Biometric Framework, enabled various Windows Hello for Business group policy settings.

I have installed %windir%\system32\WinBioPlugIns\FaceDriver\HelloFace.inf.

These are my group policy settings:

  • Allow the use of biometr ...
Score: 1
Docker creates additional bridge in wrong IP range
sh flag
Sim

I followed the answers here and changed the daemon.json to:

{
  "bip": "10.200.0.1/24",
  "default-address-pools": [
      { "base":"10.201.0.0/16","size":24 },
      { "base":"10.202.0.0/16","size":24 }
  ]
}

as I wanted to change the IP range used by the docker networking. However, when I start there is still a bridge created belonging to the IP range I wanted to move away from:

8: br-6c870af107ba: &l ...
Score: 0
Corobori avatar
How to show a default page on a protected website running on IIS
mw flag

I can't figure out the correct syntax in my web.config to allow the general public to see the index.aspx as a default page and for any other page to go thru the login page.

If I use www.mywebsite.com/index.aspx the page is displayed fine and I don't have to go thru the login process. But if I try www.mywebsite.com I am being redirected to the login.aspx page. Is there a way to display index.aspx if no s ...

Score: 0
wawa wawawa avatar
tc-mirred, redirecting flow matches to a dummy interface
za flag

I'm scaling a security inspection device. The rate limiting step is a single threaded process that analyses and extracts data from network flows.

As a short-term goal, I would like to scale this by load-balancing from the physical capture interface to internal dummy or tap interfaces and then have multiple instances of the single threaded process running using those as input. Each instance of the ...

Score: 0
Ubuntu server as both a private NAT router and a public router
cn flag

I am attempting to do something I've never tried before. I have a Dell PowerEdge 540 that I've installed Ubuntu on. I got a Comcast Business line installed, and have the following physical network configuration:

Ubuntu Server 20.04.3 LTS

enp10s0f0:   (10gb SFP+ Add-on card)
IPv4: 5*.2*.204.214
Subnet: 255.255.255.252
Gateway: 5*.2*.204.213

enp10s0f1:   (10gb SFP+ Add-on card)
IPv4: 5*.2*.205.1
Su ...
Score: 5
suspense avatar
File Server Cluster with shared storage - options for storage
in flag

We would like to build two-node File Server Cluster with Shared Storage on VM. The issues is that our vmware set up doesn't support disk sharing. File server cluster must be available all the time of course.

What other options do we have? I consider:

  • DFS - not a solution as both nodes can write at the same time in case of failover (known as a split brain issue)

- Storage replica (not sure here but sou ...

Score: 0
Block websites for my VPN users
id flag

I have strongswan running fine, I need to block some bad websites by it's domains from being visiting by VPN users, I tried many methods but no luck as redirect traffic from vpn to proxy server like squid but I discovered that forwarded traffic to squid it done by it's website IP not domain name so this technique not succeeded.

maybe this is not strongswan business but any idea will be welcomed.

 ...

Score: 0
Proftpd issue with filenames on FTPS
cn flag

I'm setting up a proftpd service on a Debian 11 server. I want to be able to connect the to FTP with local users (for administrators) and AD user. I joined the Debian server to my AD using realmd and it's working fine for ssh connections. Note: domain user's home is on a NFS share.

When I try to connect to the FTP with my Filezilla client and my local user it's working fine and filenames are corre ...

Score: 0
Gill-Bates avatar
Do I have to enter the public IP into the HOME_NET variable?
ps flag

Do I have to enter the public IP of eth0 as HOME_NET in the suricata.yaml?

vars:
  # more specific is better for alert accuracy and performance
  address-groups:
    HOME_NET: "[192.168.0.0/16,10.0.0.0/8,172.16.0.0/12]"

My understanding is that only private addresses belong in the variable HOME_NET

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.