From: tb Date: Wed, 10 Aug 2022 07:40:37 +0000 (+0000) Subject: Remove games from the default $PATH in /etc/skel X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4b593a930a431756927ff9116ec99b488b1a96f2;p=openbsd Remove games from the default $PATH in /etc/skel The games are a playground for developers. Their code is very old and full of bugs. ok deraadt kn --- diff --git a/etc/skel/dot.cshrc b/etc/skel/dot.cshrc index 5a4d9aef3ea..91c03d9fe9a 100644 --- a/etc/skel/dot.cshrc +++ b/etc/skel/dot.cshrc @@ -1,4 +1,4 @@ -# $OpenBSD: dot.cshrc,v 1.10 2020/01/24 02:09:51 okan Exp $ +# $OpenBSD: dot.cshrc,v 1.11 2022/08/10 07:40:37 tb Exp $ # # csh initialization @@ -13,7 +13,7 @@ alias ll ls -lsA alias tset 'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars' alias z suspend -set path = (~/bin /bin /sbin /usr/{bin,sbin,X11R6/bin,local/bin,local/sbin,games}) +set path = (~/bin /bin /sbin /usr/{bin,sbin,X11R6/bin,local/bin,local/sbin}) if ($?prompt) then # An interactive shell -- set some stuff up diff --git a/etc/skel/dot.profile b/etc/skel/dot.profile index 54b76518023..52ff7ba68af 100644 --- a/etc/skel/dot.profile +++ b/etc/skel/dot.profile @@ -1,6 +1,6 @@ -# $OpenBSD: dot.profile,v 1.7 2020/01/24 02:09:51 okan Exp $ +# $OpenBSD: dot.profile,v 1.8 2022/08/10 07:40:37 tb Exp $ # # sh/ksh initialization -PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games +PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin export PATH HOME TERM