Task #504
openTask #368: Move system tweaks to packages
Package doudoulinux-activities needed
80%
Description
The first trials on Genesi/Efika smartbook showed that we're lacking a way to easily get the activities menu. Currently fake users are created by a script called at CD boot time. We need to move all of these into a single installable package:
- creation of fake users with a post-install script
- update of fake users settings whenever their accounts already exist (post-install script)
- integration of the activities menu editor
- tweaking of GDM with backup of the existing GDM configuration file
- dependencies with GDM, DDL sessions and DDL themes
Doing this will also ease our future move from a GDM trick to a dedicated, more standard application for the activities menu.
Updated by Jean-Michel Philippe almost 13 years ago
- Subject changed from Package ddl-activities-menu needed to Package doudoulinux-activities needed
Updated by Jean-Michel Philippe almost 13 years ago
- Status changed from New to In Progress
- Estimated time changed from 6:00 h to 10:00 h
Currently the menu editor is located in package ddl-utils. We need to move files to the new package and split the translations messages into separate message files.
Updated by Jean-Michel Philippe almost 13 years ago
- % Done changed from 0 to 50
A first version of package is now available. It shows the GDM-based activities menu and can be safely removed :).
Updated by Jean-Michel Philippe almost 13 years ago
The modified password management of this package, compared to the too permissive one of the livecd, is currently causing the apparition of an administration password dialog (gksu). The solution is to:
1. add “tux” to sudo group as the livecd does
2. force gksu to use its sudo variant (see gconf/gksu)
3. change /etc/pam.d/sudo to comment the common-auth entry and append a line “auth required pam_permit.so”
at its end
Updated by Jean-Michel Philippe almost 13 years ago
A safer option is to use pam_listfile
to allow only a restricted set of users to login without password. The sudoers file should also only allow a reduced set of commands for user “tux”, except in the live environment that puts him into the sudo group, which is perfectly ok.
Updated by Jean-Michel Philippe almost 13 years ago
- % Done changed from 50 to 80
The only remaining task is the update of DDL users data. Currently un-installing the package triggers users home data removal. Updating the package first calls un-installing! We then need to remove users data only on purge commands or be able to get previous backups back during installation.
Note: asking users if they want to remove passwords in DDL accounts while installing has moved to a dedicated ticket #513.