Sign inSign up free

699. A Tool on Everyone's PATH

easy 10 XP ~5 minHands-on lab

indexer was installed to /opt/indexer. Its command is /opt/indexer/bin/indexerctl, and it reads its install folder from the variable APP_HOME.

Task

For every user's login shell on this server:

  • indexerctl runs by its name alone,
  • APP_HOME is exported with the value /opt/indexer,
  • the existing PATH entries keep working (append, don't replace).

Don't edit /etc/profile, /etc/bash.bashrc or anyone's personal dot files.

About this machine

Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.

Part of Prepare for the LFCS. Next step: Freeze One Package, Release Another

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Your machine is ready to start

A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.

No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.