Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/sshuttle/sshuttle
/ sudoers
Function
sudoers
sshuttle/sudoers.py:41–45 ·
view source on GitHub ↗
(user_name=None)
Source
from the content-addressed store, hash-verified
39
40
41
def
sudoers(user_name=None):
42
user_name = user_name or getpass.getuser()
43
content = build_config(user_name)
44
sys.stdout.write(content)
45
exit(0)
Callers
1
main
Function · 0.90
Calls
2
build_config
Function · 0.85
write
Method · 0.80
Tested by
no test coverage detected