login session
The period from logging in to logging out, during which your processes carry the identity and group memberships you had at login.
In more detail
Group membership changes are read when a session starts, so an existing shell keeps its old groups. Logging out also closes the terminal, which sends a hangup signal to processes still attached to it. Work that must survive logout needs detaching or a service manager.
Related terms
- supplementary group — An extra group a user belongs to in addition to the primary group, granting access to that group's files.
- terminal — The text window where you type commands and read their output.
- nohup — A command that runs another command immune to the hangup signal, so it keeps running after you log out.
- process supervisor — A program that starts processes, watches them and restarts them if they exit, such as systemd or a container platform.
Taught in
- Groups, And How Shared Access Is Granted — Linux Fundamentals & Systems Administration
- Job Control, And Processes That Outlive You — Linux Fundamentals & Systems Administration
- The Reindex That Died With The VPN: Jobs, cron, at And Timers — CompTIA Linux+ (XK0-006) Exam Prep