Bug#637453: lower priority of root's password, use sudo in standard install
On Thu, Aug 11, 2011 at 04:56:39PM +0100, Miguel Figueiredo wrote:
> Package: user-setup
> Version: 1.40
> Tags: wishlist, patch
> Setting the root account password is not mandatory in standard installation,
> skipping it already adds the first user account to sudo.
> Lowering the priority skips 2 questions in the standard installation.
> The questions will still be available on the expert install and preseed.
You are going to make me HATE the defaults now.
I hate sudo, I always use su if I really have to do something as root.
I want to be able to fix my machine if something goes wrong, and it
does after all ask for root's password when something goes very wrong
Can we stop trying to be as awful as Ubuntu?
> Melhores cumprimentos/Best Regards,
> Miguel Figueiredo
> diff --git a/user-setup-ask b/user-setup-ask
> index 3fb8a17..5815fe4 100755
> --- a/user-setup-ask
> +++ b/user-setup-ask
> @@ -36,7 +36,7 @@ while :; do
> # Ask how the password files should be set up.
> db_input low passwd/shadow || true
> # Ask if root should be allowed to login.
> - db_input medium passwd/root-login || true
> + db_input low passwd/root-login || true
> db_get passwd/root-login
> @@ -52,8 +52,8 @@ while :; do
> # No preseed of the root password hash
> # we will prompt the user
> db_set passwd/root-password-crypted ""
> - db_input critical passwd/root-password || true
> - db_input critical passwd/root-password-again || true
> + db_input low passwd/root-password || true
> + db_input low passwd/root-password-again || true