No description
  • HTML 73.9%
  • CSS 26.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Zebreus b228fec07e Let the shell user install packages with pacman
The root user now owns the whole MSYS2 installation and can run pacman. The
login path the journey depends on - the sshd, the login shell zsh and cat - is
kept as a protected copy in C:\msys2\opt\kik that only SYSTEM and the
administrators may write, and the sshd runs as SYSTEM from there (the new
KiK sshd task; the msys2-sshd service is disabled). Replacing the user's own
/usr/bin/sshd therefore cannot touch the running server.

opt/kik is two levels below C:\msys2, so its runtime resolves the same
installation root and the login shell and the user's tools share one cygwin
runtime. A separate second installation does not work: two runtimes in one
process tree corrupt each other's file descriptors and pacman cannot lock its
database.

/etc/passwd and /etc/ssh are read-only to the user, /opt/kik is first on PATH
so cat README survives even if the user deletes their own /usr/bin/cat, and
the restore task rebuilds the protected copy and re-applies the permissions
every 30 minutes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-25 21:37:55 +01:00
public Embed the login key in the terminal script 2026-10-25 01:08:58 +02:00
server Let the shell user install packages with pacman 2026-10-25 21:37:55 +01:00
src Clickable links, full-width terminal and exact page history 2026-10-25 02:36:28 +01:00
.gitignore Port to astro 2026-10-24 22:37:39 +02:00
astro.config.mjs Ship styles.css unminified 2026-10-25 02:44:41 +01:00
package-lock.json Clickable links, full-width terminal and exact page history 2026-10-25 02:36:28 +01:00
package.json Clickable links, full-width terminal and exact page history 2026-10-25 02:36:28 +01:00