From owner-freebsd-current Tue Jan 28 06:04:18 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA15263 for current-outgoing; Tue, 28 Jan 1997 06:04:18 -0800 (PST) Received: from po1.glue.umd.edu (root@po1.glue.umd.edu [129.2.128.44]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA15248 for ; Tue, 28 Jan 1997 06:04:12 -0800 (PST) Received: from baud.eng.umd.edu (baud.eng.umd.edu [129.2.98.183]) by po1.glue.umd.edu (8.8.5/8.7.3) with ESMTP id JAA15575; Tue, 28 Jan 1997 09:04:08 -0500 (EST) Received: from localhost (chuckr@localhost) by baud.eng.umd.edu (8.8.5/8.7.3) with SMTP id JAA17968; Tue, 28 Jan 1997 09:04:08 -0500 (EST) X-Authentication-Warning: baud.eng.umd.edu: chuckr owned process doing -bs Date: Tue, 28 Jan 1997 09:04:07 -0500 (EST) From: Chuck Robey X-Sender: chuckr@baud.eng.umd.edu To: Joerg Wunsch cc: "Eric A. Griff" , current@freebsd.org Subject: Re: Can't get `.' off of root's path In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 28 Jan 1997, J Wunsch wrote: > As Chuck Robey wrote: > > > In both cases, su > > complains about relative components in the path, whether they are there or > > not. I'm going to check the su code. > > No need. Either 1) turn on your brain first :-))) (and think about > the sequence, and about which PATH su(1) can examine at all), or 2) go > back and re-read my followup in this thread. > > Finally, you'll end up with either removing the dot from the PATH of > the invoking user (_NOT_ of the _invoked_ user!), or you gotta live > with the warning (or you hack su to no longer warn you...). Perhaps, Joerg, but this is occurring on my newly booted smp machine, with roots login, not even using su (on the console). I checked $PATH and $path, and "." isn't in there. I keep on getting the message that the path has relative components. Could this mean that there are some relative symlinks involved? ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 9120 Edmonston Ct #302 | Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD (301) 220-2114 | version 3.0 current -- and great FUN! ----------------------------+-----------------------------------------------