Jacques Gauthier asked,
| My internet provider is on a file system composed of
| several servers. I always have access to my home
| directory provided I use the ksh shell. If I use
| csh or sh, often I am unable to determine things like
| pwd.
|
| My question: Has anyone ever tried to use procmail
| with ksh as default shell ? Someone posted
| a few days ago that csh was broken. Is ksh broken
| also ?
Problem: by "default shell" do you mean (1) as compiled in when procmail is
built, (2) as read from /etc/passwd as the user's default login shell and
therefore used by procmail as the default shell if $SHELL is not assigned, or
(3) as set by the user by assigning $SHELL in his or her .procmailrc?
If (2) or (3), no problem. I have always had ksh or pdksh as my login
shell (which supersedes the compiled-in value) and always specifically
set $SHELL to ksh or pdksh with no shell problems (except for one buggy
pdksh version that didn't set PWD properly, but that was years ago).
If (1), it's probably safe. At worst, a user might expect sh syntax,
which ksh or pdksh will understand.