Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Online vs. offline user ids



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.

-- 
Rich P.



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org