MCPcopy 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
41def 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

mainFunction · 0.90

Calls 2

build_configFunction · 0.85
writeMethod · 0.80

Tested by

no test coverage detected