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

Re: /etc/profile no longer used



On Sat, May 31, 2003 at 11:28:09AM +0200, Etienne Perron wrote:
> Thanks Leandro,
> but that's not the problem. My problem is that even bash is no longer
> using /etc/profile. I have specified a PATH in /etc/profile, but bash
> gets another PATH from somewhere else (don't no from which file)...
> 
> Any new ideas?

ii  bash            2.05b-7         The GNU Bourne Again SHell

$ strace -e trace=open bash --login
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/libncurses.so.5", O_RDONLY)  = 3
open("/lib/libdl.so.2", O_RDONLY)       = 3
open("/lib/libc.so.6", O_RDONLY)        = 3
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
open("/etc/mtab", O_RDONLY)             = 3
open("/proc/meminfo", O_RDONLY)         = 3
open("/etc/nsswitch.conf", O_RDONLY)    = 3
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/libnss_compat.so.2", O_RDONLY) = 3
open("/lib/libnsl.so.1", O_RDONLY)      = 3
open("/etc/passwd", O_RDONLY)           = 3
open("/etc/profile", O_RDONLY|O_LARGEFILE) = 3
open("/home/moseley/.bash_profile", O_RDONLY|O_LARGEFILE) = 3
open("/home/moseley/.bash_history", O_RDONLY|O_LARGEFILE) = 3
open("/home/moseley/.bash_history", O_RDONLY|O_LARGEFILE) = 3
open("/etc/terminfo/x/xterm", O_RDONLY) = 3
open("/etc/inputrc", O_RDONLY|O_LARGEFILE) = 3


-- 
Bill Moseley
moseley@hank.org



Reply to: