diff options
Diffstat (limited to 'azurelinuxagent/common/osutil/freebsd.py')
-rw-r--r-- | azurelinuxagent/common/osutil/freebsd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azurelinuxagent/common/osutil/freebsd.py b/azurelinuxagent/common/osutil/freebsd.py index 54c7452..d0c40b9 100644 --- a/azurelinuxagent/common/osutil/freebsd.py +++ b/azurelinuxagent/common/osutil/freebsd.py @@ -77,7 +77,7 @@ class FreeBSDOSUtil(DefaultOSUtil): "").format(username, output)) def del_root_password(self): - err = shellutil.run('pw mod user root -w no') + err = shellutil.run('pw usermod root -h -') if err: raise OSUtilError("Failed to delete root password: Failed to update password database.") |