[PATCH] Explicitly disable the rootpw lock (#853788)

Vratislav Podzimek vpodzime at redhat.com
Wed Sep 5 10:27:52 UTC 2012


On Tue, 2012-09-04 at 14:27 -0700, Jesse Keating wrote:
> Turns out that while pykickstart objects will default to the lock being
> False, there is an interactive-defaults.ks that is being loaded by
> anaconda, and in /that/ file the root is default to --lock.  Since we're
> setting a password, it makes sense to ensure that the account is not
> locked.
> ---
>  pyanaconda/ui/tui/spokes/password.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/pyanaconda/ui/tui/spokes/password.py b/pyanaconda/ui/tui/spokes/password.py
> index 649505b..98da8ac 100644
> --- a/pyanaconda/ui/tui/spokes/password.py
> +++ b/pyanaconda/ui/tui/spokes/password.py
> @@ -70,3 +70,4 @@ class PasswordSpoke(NormalTUISpoke):
>      def apply(self):
>          self.data.rootpw.password = self._password
>          self.data.rootpw.isCrypted = False
> +        self.data.rootpw.lock = False
Looks good to me. But what happened with	[PATCH jk-tui 2/2] Crypt the
root we get from the user
Do we still store the password unencrypted?

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list