Gentoo Archives: gentoo-user

From: Bob Young <RKY@×××××.Net>
To: "Gentoo (user)" <gentoo-user@l.g.o>
Subject: [gentoo-user] .bashrc/.bash_profile not "sourced" upon login fo NIS authenticated users
Date: Wed, 28 Mar 2007 07:51:32
Message-Id: 010501c7710c$f5369610$08200a0a@PowerMoneySex.Lan
1 Probably a PEBSAC
3 If so, that's ok I'm willing to learn. Like the title says, if I log in as
4 root /root/.bashrc and /root/.bash_profile are sourced. However if I login
5 as BYoung and am authenticated by the NIS server (SFU on aWindows Domain
6 Controller), then /home/BYoung/.bash_profile and /home/BYoung/.bashrc are
7 not sourced. As workaround, I've added: "source ~/.bash_profile" as the
8 last line of /etc/profile, and that works, but of course .bash_profile and
9 .bashrc get executed twice when I log in as root.
11 I'd like to fix this the right way, pointers and/or advice greatly
12 appreciated, and if I'm just doing something stupid, let me know.
14 TIA
15 Bob Young
16 San Jose, CA
18 --
19 gentoo-user@g.o mailing list