Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lightdm automatically mounts all network home directories on startup #362

Open
itepak opened this issue Jun 13, 2024 · 0 comments
Open

lightdm automatically mounts all network home directories on startup #362

itepak opened this issue Jun 13, 2024 · 0 comments

Comments

@itepak
Copy link

itepak commented Jun 13, 2024

I want to automount my network based home directories on login. I'm using autofs rolled out by FreeIPA.

auto.home:
* -fstype=ceph,name=user,secretfile=/etc/ceph/ceph.client.user.keyring,noatime,_netdev server:/home/&

This line basicly states that any folder under server:/home/ will be mounted when accessed. Lightdm looks up home directories for a fancy user icon and by doing it mounting the users home directory - all of them. I want to disable this. There are settings like minimum-uid in /etc/lightdm/users.conf and others which could prevent this. But apparently they are read after the fact that all directories are already looked up.

Here is a two year old issue with the same problem #254. They are using AccounsService to prevent this and that is actually working! However, I don't think this is a good solution because I don't understand the purpose of this service [edit:] and it's a potential security risk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant