Bug#637453: lower priority of root's password, use sudo in standard install
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.
--
Melhores cumprimentos/Best Regards,
Miguel Figueiredo
http://www.DebianPT.org
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
;;
1)
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
fi
fi
;;
Reply to: