ecryptfs-mount-private does not work after su - user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ecryptfs-utils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When I do a "su - user" as user root and this user has an encrypted home,
ecryptfs-
root@wupp:~# su - framstag
Signature not found in user keyring
Perhaps try the interactive 'ecryptfs-
framstag@wupp:~: ll
lrwxrwxrwx framstag users - 2016-09-13 17:40:15 Access-
lrwxrwxrwx framstag users - 2016-09-13 17:40:15 README.txt -> /usr/share/
framstag@wupp:~: ecryptfs-
Enter your login passphrase:
Inserted auth tok with sig [8d3041402fc70c61] into the user session keyring
mount: No such file or directory
framstag@wupp:~: ll
lrwxrwxrwx framstag users - 2016-09-13 17:40:15 Access-
lrwxrwxrwx framstag users - 2016-09-13 17:40:15 README.txt -> /usr/share/
In contrast, login via ssh works as expected:
root@wupp:~# ssh framstag@localhost
framstag@
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-36-generic x86_64)
* Documentation: https:/
* Management: https:/
* Support: https:/
Last login: Wed Sep 14 13:04:17 2016 from 127.0.0.1
framstag@wupp:~: ll
drwxr-xr-x framstag users - 2016-08-17 12:27:18 Downloads
root@wupp:~# mount | grep crypt
/local/
root@wupp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
root@wupp:~# dpkg -l | grep ecryptfs-utils
ii ecryptfs-utils 111-0ubuntu1.1 amd64 ecryptfs cryptographic filesystem (utilities)
--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: <email address hidden>
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: http://
Status changed to 'Confirmed' because the bug affects multiple users.