Date: Mon, 9 May 2005 21:43:20 +0200 From: Michael Nottebrock <lofi@freebsd.org> To: "/dev/null" <null@dnswatch.com> Cc: freebsd-current@freebsd.org Subject: Re: root's shell (Was: Re: boot banner project) Message-ID: <200505092143.24101.lofi@freebsd.org> In-Reply-To: <1979.216.177.243.38.1115666892.localmail@webmail.dnswatch.com> References: <ff3ef3b2621f16316effcf296f044d93@mac.com> <200505082006.35776.lofi@freebsd.org> <1979.216.177.243.38.1115666892.localmail@webmail.dnswatch.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1292717.DubRVVMNYl Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday, 9. May 2005 21:28, /dev/null wrote: > He *boldly* asks without so much as the smallest amount of research - > 1.) > Would it be considered alot of trouble to make (t)csh POSIX compliant? Prolly. > 2.) > Would it be considered difficult or poor practice to make root' shell an > option during install? Well, toor exists. Activate it and give it any shell you want, case closed.= As=20 has been said before, a POSIX-sh compatible shell for root is a red herring= -=20 slap #!/bin/sh in front of your scripts and be done with it. The omnipresence of bash in Linux at least hasn't done a great service to=20 script portability in my experience (you wouldn't think porting KDE isn't a= =20 likely opportunity to be confronted with bad scripting, but I had to learn= =20 otherwise the hard way. Bash makes it way to easy to write scripts that wil= l=20 only work when /bin/sh is really /bin/bash). =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart1292717.DubRVVMNYl Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBCf71cXhc68WspdLARAmi8AKCDK1MUHmo0JU+Q7KMhK6C7GzDiLACglqnd SAmZeShwWs3KITTlLAp3nds= =9Kfn -----END PGP SIGNATURE----- --nextPart1292717.DubRVVMNYl--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505092143.24101.lofi>