Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Sysinst default root login shell

On 2012-04-10 22:21, Aleksej Saushev wrote:
Johnny Billquist<>  writes:

On 2012-04-10 02:34, Eric Haszlakiewicz wrote:
On Mon, Apr 09, 2012 at 10:05:22PM +0200, Johnny Billquist wrote:
On 2012-04-09 20:04, Eric Haszlakiewicz wrote:
And almost all of the scripts in the system are implemented with /bin/sh,
so having the default shell be something that can actually run (pieces of)
those would be nice.

What does the selected shell of an account have to do with in which
language a bunch of scripts are written in?

It's useful if you need examples of how to do things.

I might be dense, but I still fail to see the connection between
what language a bunch of scripts are written in and the login

One is programs, the other is interactive use by a human. If
there is a connection here, it certainly flew me by.

The connection is straightforward: we shouldn't force users to learn
broken language used only in archaic systems and only in interactive mode.

sh isn't ideal but it is much better in most if not all respects.
It doesn't incorporate archaic non-orthogonal editing facilities that
always get in the way; it allows writing the same commands at prompt
and in scripts, copying them at wish between prompt and scripts without
major rework; it provides more general and more flexible I/O redirection.
There is absolutely no benefit in remembering different syntax, various
limitations and subtle deviations in behaviour of some tools (e.g. nohup),
learning never to forget to escape exclamation marks and so on.

It may have never occured to you if you have grown with csh in time
when it did have features absent elsewhere. These days the situation
is reverse. csh is neither more capable nor more useful. It is not
merely different either. It is alien. User reaction to csh is
definite, they try to change it, and if the latter is not possible
the first command they type after login is this:


So I guess you are constantly logged in to root, and do all your work there. Furthermore, you indiscriminately copy-paste complex shell scripts to your prompt, instead of having them in a file.

I guess I'll continue to disagree, but then again I disagree with a lot of things happening today, so I'll probably just give up on this. Where can one find a proper BSD system these days?


Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email:             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol

Home | Main Index | Thread Index | Old Index