[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Installation of sudo based systems



Hi!

In Etch installer, it is quite easy to create system without a root
account enabled (enabled the first user to use sudo instead): to do so,
one just need to "Go back" when asked for a root password.  After
selecting user-setup in the main-menu, the user will be offered the
possibility to go without a root account and use sudo instead.

It is not possible to do the same in current d-i.  Previously, main-menu
lowered the priority when backing up until the next menu item succeeds
completely.  But this behaviour was changed in version 1.19:

  * Restore previous default priority when selecting a menu item (other
    than neverdefault items) immediately after backing up to the main
    menu.

See the archives [1,2] for some insights about this change.

[1] http://lists.debian.org/debian-boot/2007/03/msg00951.html
[2] http://lists.debian.org/debian-boot/2007/04/msg00005.html

IMHO, for a typical laptop installation, a dedicated root account is not
needed and I think using sudo is better.  But if such setup requires
expert mode or "Go back/Set debconf priority/Medium/Create accounts/Set
debconf priority", I really think that most users might overlook such
possibility.

I know that adding another question at high priority might not be a good
idea, so an option would be to enable (or ask a confirmation) sudo based
installation if the user enters an empty root password during
user-setup.

Comments, questions, thoughts?

Cheers,
-- 
Jérémy Bobbio                        .''`. 
lunar@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   

Attachment: signature.asc
Description: Digital signature


Reply to: