Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$PATH does not include sbin. #160

Open
RyzenWarrior opened this issue Jan 27, 2025 · 1 comment
Open

$PATH does not include sbin. #160

RyzenWarrior opened this issue Jan 27, 2025 · 1 comment

Comments

@RyzenWarrior
Copy link

When running the command 'bash wireguard-install.sh'

I get this error: '$PATH does not include sbin. Try using "su -" instead of "su".'

Running on Debian 12

@Gedrean
Copy link

Gedrean commented Jan 30, 2025

Sometimes when you are running with su on its own, rather than sudo, or su - to switch to root, your path does not import "sbin" directories. This is why. Those sbin directories are needed to make apps work right.

Follow the advice of either running with sudo, or sudo su - to swap to running as root in login shell, it will likely resolve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants