No edit summary |
(100% :)) |
||
Line 19: | Line 19: | ||
* Targeted release: [[Releases/15|Fedora 15]] | * Targeted release: [[Releases/15|Fedora 15]] | ||
* Last updated: 2011-02-09 | * Last updated: 2011-02-09 | ||
* Percentage of completion: | * Percentage of completion: 100% | ||
== Detailed Description == | == Detailed Description == | ||
Line 56: | Line 56: | ||
== Contingency Plan == | == Contingency Plan == | ||
All patches have been committed to Rawhide in time for F15 branch | All patches have been committed to Rawhide in time for F15 branch. In case any problems are found during testing, the feature should not be considered complete and should not be included in the release notes. The changes in bug 486152 could be reverted, but that's not absolutely necessary. | ||
== Documentation == | == Documentation == |
Latest revision as of 08:13, 15 February 2011
Support for ecryptfs in authconfig
Summary
Authconfig will allow the system administrator to configure automatic mounting of an encrypted area in each user's home directory.
Owner
- Name: Paolo Bonzini
- Email: pbonzini@redhat.com
Current status
- Targeted release: Fedora 15
- Last updated: 2011-02-09
- Percentage of completion: 100%
Detailed Description
pam_ecryptfs is a PAM module that allows to mount a private part of the home directory (or the entire home directory) when a user logs in. However, using pam_ecryptfs in Fedora <=14 is complicated by the configuration style adopted by authconfig. This feature aims at simplifying this across various PAM users and integrating ecryptfs support into authconfig.
Benefit to Fedora
ecryptfs is a useful tool, but it is hard to configure under Fedora. Compared to encrypted partitions, for example, it easily lets the user do encrypted backups.
Scope
Changes are required to PAM, authconfig, and several pam users. All of these have been identified and patches posted to Bugzilla:
- https://bugzilla.redhat.com/show_bug.cgi?id=665061 (gdm)
- https://bugzilla.redhat.com/show_bug.cgi?id=665062 (util-linux)
- https://bugzilla.redhat.com/show_bug.cgi?id=665063 (passwd)
- https://bugzilla.redhat.com/show_bug.cgi?id=486152 (authconfig)
How To Test
- Add yourself to the ecryptfs group.
- Set up an ecryptfs private area under ~/Private using ecryptfs-setup-private.
- Mount it with ecryptfs-mount-private and create a few files in it. Unmount it with ecryptfs-umount-private.
- Enable ecryptfs using authconfig (e.g. setting USEECRYPTFS=yes under /etc/sysconfig/authconfig and rerunning authconfig-tui --updateall)
- Log out and log back in.
- mount should show an ecryptfs mount for ~/Private and the files you created in step 3 should show up.
- Log out and log in as root.
- The ecryptfs mount should not be there anymore.
Contingency Plan
All patches have been committed to Rawhide in time for F15 branch. In case any problems are found during testing, the feature should not be considered complete and should not be included in the release notes. The changes in bug 486152 could be reverted, but that's not absolutely necessary.
Documentation
- pam_ecryptfs(8) man page (note the man page is a bit Ubuntu-centric, we do not have /etc/pam.d/common-auth and the Fedora implementation will be different in order to support authconfig)
Release Notes
Fedora 15 brings in improved support for eCryptfs, a stacked cryptographic filesystem for Linux. Starting from Fedora 15, authconfig can be used to automatically mount a private encrypted part of the home directory when a user logs in.