Go to file
perry b159dba912 Fix a mysterious
csh: Permission denied
	csh: Trying to start from "/var/log"
message.

This was caused by the
	su -m uucp -c "uustat -a"
line being executed in a directory not readable by uucp. The login
shell implied by -m is of course root's shell, /bin/csh, which doesn't
like not being able to read the dir it is in, and thus the errors. By
temporarily cd'ing to /tmp the problem is fixed.

What is really needed, of course, is a way to tell su what shell you
want to use explicitly, especially for use in scripts where the
vagaries of which shell the login executing the script uses should not
be depended on. No such method exists. One should be added.

Indeed, it might also be nice to have a way of telling su to directly
execute a command with -c rather than using a shell to interpret the
command.

I cannot find any standards documents that specify su at the moment,
though. SuSv2 is silent on su(8).
2001-10-23 18:39:03 +00:00
bin enable WARNS?= 2 2001-10-19 00:59:07 +00:00
crypto Turn on TCP_NODELAY over loopback 2001-10-18 19:46:12 +00:00
dist copyright clarification, from tcpdump.org 2001-10-22 06:59:26 +00:00
distrib .include <bsd.subdir.mk> in order to inherit no-op standard targets like 2001-10-23 16:30:35 +00:00
etc Fix a mysterious 2001-10-23 18:39:03 +00:00
games Add one. 2001-10-22 00:55:00 +00:00
gnu Regen from toolchain2netbsd 2001-10-23 16:53:45 +00:00
include - add _PATH_USERMGMT_CONF. resolves [bin/14305] 2001-10-23 00:25:20 +00:00
lib Fix URL. From PR misc/14329. 2001-10-23 17:40:00 +00:00
libexec Fix how underfined weak symbols are treated -- before, ld.so would do nothing 2001-10-14 23:13:21 +00:00
regress Rename prn.c to prename.c to avoid problems with certain Microsoft host OS's. 2001-10-19 03:10:15 +00:00
sbin minor WARNS=2 stuff 2001-10-19 01:16:37 +00:00
share When setting MACHINE_GNU_PLATFORM for ARM ports, we need compare 2001-10-23 17:15:21 +00:00
sys Make it compile with debug on. 2001-10-23 17:58:15 +00:00
tools If <srcdir>/../Makefile.inc exists, pull it in as well before setting 2001-10-22 05:30:47 +00:00
usr.bin Fix typo in definition of PARSEFILE. It should refer to PARSEDIR (and not 2001-10-23 06:32:38 +00:00
usr.sbin + add backwards compatibility hook for old pw_mkdb() calls with no args 2001-10-22 11:00:05 +00:00
Makefile Remove distrib and etc from _SUBDIR. These should never get added to the 2001-10-21 08:03:01 +00:00
Makefile.inc Set RELTOP to '.' if that's where we are. 2000-05-06 15:05:15 +00:00
UPDATING mtree update needed 2001-10-05 16:24:34 +00:00
build.sh Move mkdir of TOOLDIR/bin to after removing TOOLDIR as specified by -r. 2001-10-19 16:43:47 +00:00