BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Online vs. offline user ids
- Subject: [Discuss] Online vs. offline user ids
- From: gaf at blu.org (Jerry Feldman)
- Date: Fri, 09 May 2014 15:32:46 -0400
- In-reply-to: <536CED34.5090406@gmail.com>
- References: <536CE71D.7060500@blu.org> <536CED34.5090406@gmail.com>
I forgot about nsswitch. In any case, that was the way I was going to do it. On 05/09/2014 10:59 AM, Richard Pieri wrote: > Jerry Feldman wrote: >> What I would like to do is to set the system up to use my LDAP >> credentials and my NAS home directory when online but use my local >> credentials when not connected to the corporate network (eg. When the >> VPN is not established). My preference would be to use the same user > There's a 1:1 mapping between user name and home directory on Unix so > you can't have one login name with two different home directories. The > simple solution is to have two login names with one UID and the same > primary group, and then set up /etc/nsswitch.conf to use files then ldap > so that the local login doesn't have to time out. > -- Jerry Feldman <gaf at blu.org> Boston Linux and Unix PGP key id:3BC1EB90 PGP Key fingerprint: 49E2 C52A FC5A A31F 8D66 C0AF 7CEA 30FC 3BC1 EB90
- References:
- [Discuss] Online vs. offline user ids
- From: gaf at blu.org (Jerry Feldman)
- [Discuss] Online vs. offline user ids
- From: richard.pieri at gmail.com (Richard Pieri)
- [Discuss] Online vs. offline user ids
- Prev by Date: [Discuss] Online vs. offline user ids
- Next by Date: [Discuss] Online vs. offline user ids
- Previous by thread: [Discuss] Online vs. offline user ids
- Next by thread: [Discuss] Online vs. offline user ids
- Index(es):