Operating System - HP-UX
1833812 Members
3428 Online
110063 Solutions
New Discussion

Re: directory not visible in ftp session

 
Steven Schweda
Honored Contributor

Re: directory not visible in ftp session

Did you ever solve this problem? How?
prasadb
Super Advisor

Re: directory not visible in ftp session

hello Steven,

>Did you ever solve this problem? How?

This is excerpt that i have already explained in the thread ..

"
well, i have done some changes in /etc/inetd.conf file as below
#ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
previously it was ..
#ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -a -d
i removed the "-a" option, and the user is able to view the o/p of "pwd" as well as the "ls" commands. "

Having tried this, i am keen to know the reason behind it :-)
Steven Schweda
Honored Contributor

Re: directory not visible in ftp session

> This is excerpt that i have already
> explained in the thread ..

If you call that a solution.

> and these users had above explained problem.

As I may have hinted, "man ftpd" and "man
ftpaccess" should explain this stuff. You
say that have this in your
/etc/ftpd/ftpaccess file:

guestgroup ftpusers

and this in /etc/group:

ftpusers::106:delhitap,gujtap,hptap

That would make these users "guest" users,
which means that you need to set up their
home directories just as for the anonymous
user, as explained in the ftpd "man" page.

I had hoped that you would try that
ftp> nlist
test to confirm that the only problem is with
the "ls" program. Then I might suggest
looking for "ls" and/or "/sbin/ls" while
you're reading "man ftpd".

> Having tried this, i am keen to know the
> reason behind it :-)

So you say, but if you were all that keen, I
would have expected you to try some of the
things I suggested at Jan 14, 2009 06:59:51
GMT, and report back with the results.