Re: Interactive vs non-interactive shell for users

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

 



Martin Stricker writes....
> 
> Cliff Sarginson wrote:
> 
> > No sane-person uses tcsh to write scripts in, it is obscure and
> > arcane and riddled with problems..but is also an excellent
> > interactive shell.
> 
> I'm taking this as an insult! ;=D Actually, I've moved most scripts over
> to Perl, but for the small ones I remain with tcsh. Bash is the
> nightmare - doesn't work in a coherent way.
> 
> > Then there is the zsh, which really is the bees-knees of all
> > shells...but hardly known about.
> 
> Yup, but I'm so used to tcsh...
> 
> > If you want to restrict users in some way to what they can do,
> > examine the use of the "restricted" shell options, or the use of
> > chroot environments. Or write a shell script that locks them inside
> > it somehow and disallows certain commands.
> 
> Of course all these restrictons can be circumvented. I think a
> "restricted shell" is the best you can get.

All perfect examples/reason why most shell scripts are written in
Bourne (/bin/sh) and very few people use that as their interactive
shell.

-- Jay Crews
jpc@jaycrews.com



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux