<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Linux</title>
    <link>https://pandait.byu.edu/linux</link>
    <description>Linux</description>
    <language>en-US</language>
    <lastBuildDate>Tue, 16 Jun 2026 15:43:06 GMT</lastBuildDate>
    <atom:link href="https://pandait.byu.edu/linux.rss" type="application/rss+xml" rel="self" />
    <item>
      <title>Introduction to Endpoint Management With Salt</title>
      <link>https://pandait.byu.edu/knowledge/introduction-to-salt</link>
      <description>What is Salt?</description>
      <pubDate>Tue, 16 Jun 2026 15:43:06 GMT</pubDate>
      <guid>https://pandait.byu.edu/knowledge/introduction-to-salt</guid>
      <content:encoded><![CDATA[<html lang="en">                    <head>                <meta charset="utf-8">                <meta property="op:markup_version" content="v1.0">                                    <link rel="canonical" href="https://pandait.byu.edu/knowledge/introduction-to-salt">                                <meta property="fb:article_style" content="default">            </head>                            <body>                <article>                    <header>                                                                            <h1>Introduction to Endpoint Management With Salt</h1>                                                                            <h3 class="op-kicker">Linux</h3>                                                                                                    <time class="op-published" dateTime="June 16, 09:43 AM">June 16, 09:43 AM</time>                                                                            <time class="op-modified" dateTime="August 25, 01:54 PM">August 25, 01:54 PM</time>                                            </header>                    <figure> <img src="https://brightspotcdn.byu.edu/de/ee/9090030f4dfd99167743a1176612/salt-logo-bg.png"></figure>What is Salt?<p>Salt is an endpoint management solution that the Physics and Astronomy Tech Office uses to manage our Linux systems. It's primarily used to manage astronomy lab computers as they require Ubuntu for their applications. Salt works on a master-minion model with a central management server (called the master) and the local management software installed on the computers (the minions). Once the master and minion have exchanged a set of keys, an encrypted connection is used to send commands and software to individual minions and groups of minions.</p>Imaging with Salt<p>As of the writing of this article, all Salt resources are located at <a href="https://git.physics.byu.edu" target="_blank">git.physics.byu.edu</a> under the config-management repository. You must request access from someone in the office who has at least "maintainer" access rights. Currently, the only Linux distribution supported is Ubuntu; however, many campus resources exist for RHEL, and in the future could be implemented into our workflow. However, no such demand exists within the department.</p> Burn a copy of Ubuntu 24.04 to a USB stick with at least 8 GB of space. Version 26.04 is currently being tested but is not yet fully supported. Locate the    linux_install_minion.sh   shell script in the root of the config management repository and save it to your Ubuntu USB stick. Install Ubuntu on the desired machine. Ensure that the hostname follows the convention used in the office ("ESC-" followed by the computer serial number or service tag number) and that you create the CSR local administrator account with the username 'csr' and a secure password. This password should be overridden by Salt to be one of the passwords used in LastPass; however, you should make note of your password just in case it doesn't, then you can manually update it if necessary. Reboot after the installation and sign in to the csr account. Plug in the USB stick again (if removed) and locate the shell script from the repository. Run the command    chmod +x linux-install-minion.sh   Run the script with sudo privileges.    sudo ./linux-install-minion.sh   When asked for the minion ID and salt master, type in the hostname of the computer and    ESCP-SALT01.byu.edu  , respectively. The script will then install a few dependencies and the salt minion itself. Upon completion, the salt minion should be installed and running SSH into the salt master server and accept the minion key using the command    sudo salt-key -a &lt;hostname&gt;  . See note below if you run into an issue here. To test that the connection is working, you can run the command    sudo salt-call test.ping   on the local machine. Exit your SSH connection, then run the command    sudo salt-call state.apply "linux.common.index" -l info state-output=mixed   to connect to Active Directory. You will then need to manually move the computer object to the proper OU. The computer is now successfully integrated into our ecosystem. We currently don't have a way of applying different states based on the computer object location in AD; instead, you will need to either install the programs/configurations manually or apply them through Salt using a command similar to    sudo salt-call state.apply "linux.some.state.file" -l info --state-output=mixed  . Take a look through the repository to identify any ones you may find useful. We have many for astronomy under the path    salt/linux/  .                                    </article>            <script src="https://brightspotcdn.byu.edu/resource/00000173-da06-d043-a7ff-dece7d790000/_resource/brightspot/analytics/search/SiteSearchAnalytics.5eb1a8a326b06970c71b3a253fbeaa64.gz.js" data-bsp-contentid="0000019f-3d5a-d94d-abff-3ddee2690000"></script></body>            </html>]]></content:encoded>
    </item>
  </channel>
</rss>
