Skip to content

Demo needs a warning for root usage and places binary in /usr/sbin #8

@chasemp

Description

@chasemp

How To Reproduce

Visit https://docs.k0sproject.io/v0.9.1/ and follow demo gif

Expected behavior

The demo runs a command which downloads and runs arbitrary code as root from the internet. This is a model that should be marked as non-production use only explicitly in the docs. This is never something someone should actually do on a machine they care about. The demo also installs the binary in /usr/bin which violates the normalized usage of the Filesystem Hierarchy Standard.

Typically, /usr/local is expected to be used for non-distro binaries and packages. /usr/bin in particular is for non-essential binaries and k0s would most probably belong in /sbin.

The appropriate directory is either /opt/k0s/sbin/ or /usr/local/sbin.

root@ip-172-31-12-11:~# which k0s

/usr/bin/k0s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions