The kernel now checks owner/group/other on open, create, unlink, rename, exec and path search; honours set-user-id and set-group-id; restricts kill, mount, reboot and mknod; keeps supplementary groups; and implements chown. devtmpfs nodes carry owners and modes that chmod/chown keep. Terminals run login, the image has root and schos, X starts as the ordinary user. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EVRhxi9zpdW2uDUN4FVcao
32 lines
994 B
Text
32 lines
994 B
Text
# A root shell on /dev/tty6, with no login: the way in when login itself is
|
|
# what has broken. Every other terminal asks who is there.
|
|
#
|
|
# An interactive shell on /dev/tty6.
|
|
#
|
|
# NVT is 6 (include/dev/vt.h) and the kernel creates all six terminals, but only
|
|
# two ever had anything running on them -- so Alt+F6 switched to a terminal
|
|
# that was working perfectly and had nobody to talk to, which looks exactly
|
|
# like a broken one.
|
|
#
|
|
# Identical to tty2-shell apart from the number. Six manifests rather than one
|
|
# with a range, because schinit has no notion of a template and inventing one
|
|
# for six lines each is the wrong trade.
|
|
|
|
Label = os.schos.tty6-shell
|
|
Program = /bin/zsh
|
|
Args = -zsh
|
|
RunAtLoad = yes
|
|
KeepAlive = yes
|
|
|
|
Environment = TERM=linux
|
|
Environment = PATH=/bin:/usr/bin
|
|
Environment = HOME=/root
|
|
Environment = SHELL=/bin/zsh
|
|
|
|
ControllingTerminal = yes
|
|
|
|
StandardIn = /dev/tty6
|
|
StandardOut = /dev/tty6
|
|
StandardError = /dev/tty6
|
|
|
|
ThrottleInterval = 1
|