Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
python-azure-agent.24301
paa_sudo_sle15_nopwd.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File paa_sudo_sle15_nopwd.patch of Package python-azure-agent.24301
--- azurelinuxagent/common/osutil/default.py.orig +++ azurelinuxagent/common/osutil/default.py @@ -307,7 +307,7 @@ class DefaultOSUtil(object): if nopasswd: sudoer = "{0} ALL=(ALL) NOPASSWD: ALL".format(username) else: - sudoer = "{0} ALL=(ALL) ALL".format(username) + sudoer = "{0} ALL=(ALL) NOPASSWD: ALL".format(username) if not os.path.isfile(sudoers_wagent) or \ fileutil.findstr_in_file(sudoers_wagent, sudoer) is False: fileutil.append_file(sudoers_wagent, "{0}\n".format(sudoer))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor