ftp and fish with home != '/' - readjust directory to the home
Pavel Tsekov
ptsekov at gmx.net
Thu Nov 21 10:04:32 UTC 2002
On Wed, 20 Nov 2002, Pavel Roskin wrote:
> > I havent investigated this problem in depth but it seems that if you set
> > the local variable 'local' in vfs_s_get_path_mangle,direntry.c to the
> > contents of super->u.fish->cwdir it will work properly. I feel though
> > that this is not the right way to fix this proble, but I dont have more
> > time today to investigate further.
>
> Actually, I thought that fish is OK. Actually, I just tried, and I cannot
> reproduce the problem with fish (CVS mc, of course). But it is a problem
> for ftpfs.
I've just tried it on Linux to be sure that what I see is really what I
see :)
1. Start MC
2. Press 'F9' and choose 'Shell link'
3. Enter username at host (in my case it was ptsekov at moria - moria is the
local machine)
After entering the password I end up in / .
Installed MC is:
[ptsekov at moria mc]$ rpm -q mc
mc-2002112017-1
Linux is RH 8.0 (only standard packages + most RedHat updates) with kernel
2.4.18-18.8.0.
OpenSSH server is :
[ptsekov at moria mc]$ rpm -q openssh-server
openssh-server-3.4p1-2
On my Cygwin machine I run CVS MC and see the same thing. I'm ssh-ing
to the same Linux machine.
Shell linking to two similiar Linux servers yields the same result.
Now as I'm thinking of it there is something not trivial in this setup
though. We're using PAM + kerberos to authenticate users on all these
machines. All they have say the user 'foo' in their local password
database but it is locked. I.e. PAM first tries to authenticate against
the local password database it doesn't succeed because the account is
locked and then tries the kerberos server.
Hmm just tried it with the account unlocked so it is authenticated against
the local DB.... same thing :(
Let me know if you see some possible causes in this setup.
More information about the mc-devel
mailing list