Docs / Scenarios / Software, updates and published programs

PDF356 KB

Software, updates and published programs

On this page

Goal: install the software every RHEL workstation needs, keep it updated on a schedule, and offer optional programs users can install themselves, all from GPMC.

1. Software every workstation gets ("assigned")

Computer Configuration > Policies > Administrative Templates > GPWarden (RHEL) > Software:

  • Install packages: Enabled, then Show... and one package per entry, as for dnf install (firefox, libreoffice-writer, a group such as @development). Installed at computer startup, like assigned software on Windows. Tick Remove these packages when this policy no longer applies to uninstall them when the GPO goes away.
  • Remove packages: packages to remove.
  • Configure package repositories: your own repositories (name = base URL, name = signing key URL). Every package is checked against its key.

2. Updates

Computer Configuration > Policies > Administrative Templates > Windows Components > Windows Update > Configure Automatic Updates, as for Windows:

  • 2 notify, 3 download only, 4 download and install at the scheduled day and time.
  • No auto-restart with logged on users for scheduled automatic updates installations is respected.

GPWarden > Software > Install only security updates limits automatic installs to security errata.

3. Optional programs users install themselves ("published")

  1. Write a .zap file and put it on a share readable by Domain Computers (for example next to the GPO):

    INI
    [Application]
    FriendlyName = "Terminal Multiplexer"
    SetupCommand = "tmux"          ; a package name, or an .rpm relative to the .zap
    DisplayVersion = 3.4
    Publisher = Contoso
  2. In GPMC: User Configuration > Policies > Software Settings > Software installation > New > Package, choose the .zap by its UNC path, Published. Optionally Uninstall this application when it falls out of the scope of management.

  3. In a GPO linked to the computers: GPWarden > Software > Allow published applications, with the package (tmux). For RPM files on a share, Allow published RPM files from these folders names the folder (\\fs1\Packages). Packages install as root on RHEL, so the computer's policy decides what its users may install; without it, published programs show as not allowed.

    Allow published applications, enabled, with the packages mc and evince

Users then open Install a Program from the Network from the app grid, as Windows users open it in Control Panel. Each program shows its version, publisher and the GPO that publishes it, with Install (and Remove once installed). A program that names a Windows installer is shown as not available for this computer.

Install a Program from the Network on RHEL 9

If the .zap lists file name extensions (an [ext] section with lines such as .pdf=) and the package keeps GPMC's default Auto-install this application by file extension activation, opening such a file installs the program and opens the file in it, as on Windows, as long as no installed program already opens that type.

RPM files offered this way must be signed with a key the workstation trusts. When you remove the package in GPMC (All Tasks > Remove > Immediately uninstall), or it falls out of scope with the uninstall option set, it is removed at the user's next sign-in, unless another user still needs it or it was there before.

4. License for GPWarden's own updates

GPWarden > Software > GPWarden subscription license key: the key from your subscription. The workstations then get GPWarden's updates from its signed repository with your other updates.

Check

gpwardenctl result on a workstation lists the packages (installed, failed), the repositories and the update schedule. Software events are in the journal with the GPO that caused them.

Questions about this page? Ask in the chat or write to support@gpwarden.com.