Go to file
Dylan Araps c55374a52b
as_root(): Strict environment.
Running a portion of the script as root will now use a stricter
environment. The root user will only inherit a small and fixed
white-list of environment variables.

- HOME/XDG_CACHE_HOME
  - To make use of the non-root user's package
    cache for the purposes of installation.

- KISS_PATH
  - To make use of the non-root user's set repositories
    during installation.

- KISS_FORCE
  - To carry over KISS_FORCE if passed as non-root.

The 'sudo' and 'su' commands were also changed to run as
"login shells". This allows environment variables to be set
solely for the root account (KISS_HOOK, etc) via '.profile' or
etc. As for 'doas', this has to happen via doas.conf.
2020-05-18 10:29:25 +03:00
.github/workflows ci: Run on pull requests 2020-01-08 22:21:10 +02:00
contrib contrib: Fix portability issues 2020-05-15 09:58:16 +03:00
.editorconfig kiss: Swap to ls -l for user name 2020-04-28 06:26:36 +03:00
LICENSE.md docs: update 2019-10-05 11:02:05 +03:00
README.md docs: update 2020-05-17 12:38:56 +03:00
kiss as_root(): Strict environment. 2020-05-18 10:29:25 +03:00
kiss.1 kiss: Added KISS_TMPDIR 2020-05-12 12:37:40 +03:00

README.md

kiss

Tiny and straightforward package manager for KISS written in POSIX sh.

Documentation: https://k1ss.org/package-manager