Slopos users sessions

From SlopLabs/slopos · View interactive version

Slopos users sessions is an AI agent skill from the GitHub repository SlopLabs/slopos. Users, file permissions, accounts, init's service supervision and login sessions in SlopOS. Use when a task touches `Cred`, `Subject`, `DacOverride`, uids, `ROOT_LAYOUT`, the owners or accounts record, `accounts-core/`, `/bin/users`, `authcheck`, `userland/src/apps/init/`, `/run/init`, login tags, s

How to use this skill

Skill file

Read first

Rules a change must keep

SetId, ProcSignal), never on uid == 0. No set-ID bit is honoured.

layer reads the current task. Kernel callers pass Subject::KERNEL.

scripts/lib/root_layout.sh and tools/initramfs; a test holds them equal.

back to the one-person record for a root that already exists.

sealed. Writers hold ACCOUNTS_STORE.lock across reading the record and

writing the database, and write /etc/shadow first, from the record alone.

terminal with echo off (userland/src/secret.rs), never in argv.

process::openpty_handed_on and is never unlocked for opens by path.

twice in a boot. Init ends a session by its tag, not by its process tree.

request; a new request states who may send it in judge.

before each pass's input, and a desktop behind counts as locked at once.

slopos-init-state header number.

Checks

Not yet in the docs

Read pending.md beside this file when it exists. A change that adds or alters an invariant the docs do not state appends it there in the same commit.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.