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

[client] Allow ssh to rootless netbird #3173

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

lixmal
Copy link
Contributor

@lixmal lixmal commented Jan 11, 2025

Describe your changes

Issue ticket number and link

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

"os/exec"
"runtime"

"github.com/netbirdio/netbird/util"
)

func isRoot() bool {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

non-blocker, but we could call this isRootExecution or isElevatedExecution

@lixmal lixmal merged commit 95146fc into allow-ssh-server-freebsd Jan 14, 2025
43 checks passed
@lixmal lixmal deleted the allow-ssh-on-rootless branch January 14, 2025 09:44
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

Successfully merging this pull request may close these issues.

2 participants