Subject: misc/1839: problems with ~skel/dot.cshrc
To: None <gnats-bugs@gnats.netbsd.org>
From: Chris Jones <cjones@rupert.oscs.montana.edu>
List: netbsd-bugs
Date: 12/14/1995 12:47:14
>Number: 1839
>Category: misc
>Synopsis: problems with ~skel/dot.cshrc
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 14 15:05:00 1995
>Last-Modified:
>Originator: Chris Jones
>Organization:
***********************cjones@rupert.oscs.montana.edu*********************
* Chris | "You can't say that Microsoft hasn't ever put the buggy *
* Jones | before the horse." -Mark Wistey *
**************************************************************************
>Release: 1.1
>Environment:
System: NetBSD rupert.oscs.montana.edu 1.1 NetBSD 1.1 (SLIM) #0: Wed Nov 22 13:02:54 MST 1995 cjones@rupert.oscs.montana.edu:/home/src/sys/arch/mac68k/compile/SLIM mac68k
>Description:
The following two lines in the ~skel/dot.cshrc file are messed up:
set prompt = "$mch:q:$cwd:t {!} "
umask 2
The first one doesn't work with the csh that's bundled with the system
(it complains about an unknown variable modifier), and the second is
an obvious security problem.
>How-To-Repeat:
>Fix:
set prompt = "$mch:q"":$cwd:t {\!} "
umask 22
>Audit-Trail:
>Unformatted: