Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #268677
| From | Felix Natter <fnatter@gmx.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | autofs for /home: exclude admin users |
| Date | 2024-04-01 09:00 +0200 |
| Message-ID | <IojO9-3cGS-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
hello debian-users, I configured autofs for /home: * -fstype=nfs,rw,soft,bg,intr SERVER:/share/& But now the login as "admin" does not work any more, since it tries to mount SERVER:/share/admin -> Is it possible to exclude a user from automounting? The workaround [1] I use is this: admin -fstype=nfs,rw,soft,bg,intr localhost:/export/admin_homes/& * -fstype=nfs,rw,soft,bg,intr SERVER:/share/& where /export/admin_homes/admin is just a normal directory. [1] https://serverfault.com/questions/245121/how-to-prevent-autofs-from-mounting-over-specific-directories Is this a valid solution? Will it work on Debian/Ubuntu/... also in the future? Many Thanks and Best Regards, Felix -- Felix Natter debian/rules!
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
autofs for /home: exclude admin users Felix Natter <fnatter@gmx.net> - 2024-04-01 09:00 +0200
Re: autofs for /home: exclude admin users Darac Marjal <mailinglist@darac.org.uk> - 2024-04-01 11:20 +0200
Re: autofs for /home: exclude admin users Felix Natter <fnatter@gmx.net> - 2024-04-06 09:50 +0200
csiph-web