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

A little change to avoid needing root privileges on the ssh server #112

Open
tumescentrubor opened this issue Aug 21, 2022 · 0 comments
Open

Comments

@tumescentrubor
Copy link

Feature Request: to enable the ssh server to run without needing a root login, replace the line "IFCONFIG" on line 1390 of nm-ssh-service.c to the location a user-configurable wrapper script that'll manage permissions to ifconfig on the host end. Like, "sudo /sbin/ifconfig $@" in the wrapper file, and something in the sudoers file to let the user run /sbin/ifconfig as root without a password. I hard coded this for myself and it seems to work.

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

1 participant