From owner-freebsd-questions Sat Oct 3 02:18:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA18043 for freebsd-questions-outgoing; Sat, 3 Oct 1998 02:18:17 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from voland.freenet.bishkek.su (voland.freenet.bishkek.su [193.125.230.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA18014 for ; Sat, 3 Oct 1998 02:17:55 -0700 (PDT) (envelope-from fygrave@freenet.bishkek.su) Received: from freenet.kg (mail@freenet.bishkek.su [193.125.230.1]) by voland.freenet.bishkek.su (8.9.1/8.9.1) with ESMTP id PAA11270; Sat, 3 Oct 1998 15:12:45 +0500 (KGT) Received: from localhost (fygrave@localhost) by freenet.kg (8.9.1/8.9.1) with SMTP id OAA17878; Sat, 3 Oct 1998 14:36:21 +0500 (KGT) Date: Sat, 3 Oct 1998 14:36:21 +0500 (KGT) From: CyberPsychotic To: Mike Knoll cc: questions@FreeBSD.ORG Subject: Re: xterm and paths In-Reply-To: <199810030606.CAA20332@lafcol> Message-ID: X-copyright: The content of this message is intellectual property of its author. So are all mistakes. X-warning: Anyone sending unwanted advertising e-mail to this address will be charged 25USD for network traffic and computing time. By extracting my address from this message or its header you agree to these terms. X-lummer: Bill Gates MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I have two accounts, 'root' and 'abcdef', abcdef is a member of wheel. > When I login on either acount trough a text erminal, both have > /usr/local/bin in their path. But, if I login through xdm, the xterm > session on 'abcdef' as /usr/local/bin in the path, but 'root' does not. > The acounts have the exact same home directory contents, and same > shell(tcsh). The /etc/csh.* files do not set any paths. you will need to specify xterm -ls, so xterm will know that shell, which is started, is loginshell, (ig. it will pass the the argv[0], with the first character -- dash, so shell will process .profile, .bash_login or whatever). read man xterm for more. Fyodor To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message