Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
python-azure-agent.15965
paa_sudo_sle15_nopwd.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File paa_sudo_sle15_nopwd.patch of Package python-azure-agent.15965
--- 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