Date: Wed, 28 Aug 2002 18:57:08 +0200 From: Siegbert Baude <siegbert.baude@gmx.de> To: freebsd-questions@freebsd.org Subject: leading dash in login shell name? Message-ID: <200208281857.08785.siegbert.baude@gmx.de>
next in thread | raw e-mail | index | archive | help
Hi, I just noticed that in some upgrade of my 4-STABLE system within the last= =20 weeks there must have been a small change in the call of the shell you ge= t=20 after a login on any virtual console. root# echo $0 -tcsh root# or with toor: -bash-2.05b# echo $0 -bash -bash-2.05b# exec bash bash-2.05b# I'm quite sure, that there was no leading dash in earlier days for the lo= gin=20 shell. What happened there? Not that this is a big issue, but some script= =20 might use the value of $0. At least it breaks POLA. Ciao Siegbert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208281857.08785.siegbert.baude>