Files
html/api/v76-scripts/skill-who-logged.sh

7 lines
256 B
Bash
Executable File

#!/bin/bash
# V27 V89 scale - Opus WIRE continue - Skill: who-logged
# Description: Currently logged users
# Whitelist-safe timeout 8s
set -e
timeout 8 bash -c 'who | head -5' 2>&1 || echo "{\"skill\":\"who-logged\",\"error\":\"timeout_or_missing_tool\"}"