headscale icon indicating copy to clipboard operation
headscale copied to clipboard

Docs: fix path to nologin shell

Open exsplashit opened this issue 2 years ago • 1 comments

  • [ ] read the CONTRIBUTING guidelines
  • [ ] raised a GitHub issue or discussed it on the projects chat beforehand
  • [ ] added unit tests
  • [ ] added integration tests
  • [x] updated documentation if needed
  • [ ] updated CHANGELOG.md

Just small fix to copy-paste tutorial deploy

exsplashit avatar Nov 19 '23 16:11 exsplashit

Several locations for nologin do exist:

  • /usr/bin/nologin
  • /usr/sbin/nologin
  • /sbin/nologin

This is mainly dependend on the OS you are using.

Arch: has all three Ubuntu:

  • /usr/sbin/nologin
  • /sbin/nologin

Rockylinux (RedHat):

  • /usr/sbin/nologin
  • /sbin/nologin

So I guess the change to /usr/sbin/nologin should make it work on more systems out of the box.

ohdearaugustin avatar Feb 08 '24 02:02 ohdearaugustin