Displaying 1 result from an estimated 1 matches for "my_sh".
Did you mean:
my_s
2004 Aug 17
3
sftp with a user defined shell
...37548147"
Is it because the user shell, outputting lot of text?
I am OK with this behaviour, if no traces of the initiated session is
left behind.
But the problem for me is that the user shell is left behind running
myuser1 7015 0.1 0.1 1680 1256 ? S 12:38:03 0:00 /bin/csh
/bin/my_sh -c /opt/openssh/libexec/sftp
As my_sh needs a tty and because of a bug in that, it runs in a while
loop and takes up lot of cpu.
If only sftp supports only the shells returned from "getusershell"
function, sftp would be consistent with ftp and my problem will be solved.
Do we have any...