Linux WSUS server

Linux WSUS server

Postby ojonathacardoso » 21.11.2017, 18:55

Hi everyone!

I work in a public agency, where some computers use Windows. But our servers are Debian, and we don't have and there isn't any plan to buy and/or install a Windows Server.

But we have some problems with Windows Update. For example, the updates searching don't work in some computers, some updates that need administrator rights to install... And we want to use a local offline server.

I have used WSUS to install in some computers, but I would ask if is possible creating a Linux server to be used - maybe with WSUS - as update server for all our computers.


Re: Linux WSUS server

Postby Dalai » 22.11.2017, 01:38

Hi, and welcome to the forum :).

Since you wrote that you're using Windows clients in conjunction with Debian servers I guess that at least one of them has some Samba shares. The easiest thing to do (IMO) is to place WSUS Offline on a separate share on (one of) the server(s). The downloading part of WSUS Offline can run natively on Linux thanks to hbuhrmester's scripts.

The installation could be launched via script, either directly from the Samba share or from a mapped network drive. Be aware that network drives are user-specific, or, in other words: the administrator doesn't see network drives connected by the user and vice versa. What I'm trying to say is that, if you want to use network drives, you need some kind of elevation of the script and mapping the network drive there, before running WSUS Offline's installation part.

At work we have a similar scenario in a domain without WSUS. WSUS Offline is located on a Windows system's share, users are not members of the administrators group, UAC is disabled on all systems. We do it like this: In the domain logon script we run a small program called RunAs Professional which launches a script as administrator. This script maps the network share to a drive letter and calls WSUS Offline's Update.cmd with the required parameters. Actually there's a little more to it like logging, starting/stopping services and stuff, but I boiled it down to the core parts.

I don't know of any software with all the features of WSUS that can run on Linux, you know, all the remote management stuff, overview of the Windows clients' patch level and so on. But that doesn't mean there isn't any out there. So far we didn't need any such fancy software because WSUS Offline gets the job done.

I hope this helps you :).

Posts: 1025
Joined: 12.07.2016, 21:00

Re: Linux WSUS server

Postby danuel » 16.09.2018, 18:37

Hello all!

Before everything! Thank to develop and maintain this REALLY GOOD WORK!!!

I confess, It is first time I depared with this software! I found this in way, on search information about some configuration of a "possible existence" a WSUS for Linux Server.
I don't try this program on Windows. I have passed directly to Linux Installation.

Well I am Running Ubuntu 18.4.1 LTS Server With a FOG Project do deploy S.O. Images and FOG have a service to Run Scripts/batch/Installer files (Called SnapIns).

I think This it's a good Idea to implementation as a SnapIn.

Is possible someone show your Samba configuration file to linux server side and show script to windows client side?

Thank a lot
Posts: 1
Joined: 16.09.2018, 17:06

Return to Linux

Who is online

Users browsing this forum: No registered users and 4 guests