Sponsored Content
Full Discussion: FTPD ls problem on Sol10
Operating Systems Solaris FTPD ls problem on Sol10 Post 302866615 by maverick72 on Tuesday 22nd of October 2013 11:57:23 AM
Old 10-22-2013
FTPD ls problem on Sol10

Hey guys,

i'm pretty sure this is simple enough so i'll go quick. I must be missing something but can't pinpoint it.

NOTE: Yes, i should be using proftpd but the architect team is a pain in the butt and it is not possible right now.

Sol10 FTP server (zoned) MS vista ftp client.

Login is good. Path is good has he sees his home at /

Code:
normal ftp user
ftpuser1:x:204:209:FST FTP:/home/ftpuser1/ftp:/bin/false

/etc/ftpd/ftpaccess
restricted-uid  *

ftp> cd transfer
250 CWD command successful.

ftp> ls
200 PORT command successful.
550 *: No such file or directory.

ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 0
226 Transfer complete.
ftp : 9 octets reçus en 0,00 secondes à 9000,00 Ko/s.

ftp> ls -al
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 6
drwxr-xr-x   2 ftpuser1 toto          2 Oct 21 11:54 .
drwxr-xr-x   6 ftpuser1 toto         11 Oct 21 15:17 ..
226 Transfer complete.
ftp : 124 octets reçus en 0,00 secondes à 124000,00 Ko/s.

ftp> ls -l
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 0
226 Transfer complete.
ftp : 9 octets reçus en 0,00 secondes à 9,00 Ko/s.
ftp> quit

Permission on dir:
ls -ald transfer
drwxr-xr-x   2 ftpuser1 toto          2 Oct 21 11:54 transfer

Now i know ls is from binairy and dir, ls -al and ls -l are from /bin/ls But why would a simple ls give an error like that? Could it be a bug with the ftpd from Oracle/Solaris?

Could it be normal behavior on empty directories (yes the dir is empty).

I do not have the error with filezilla but since its a process app that is doing the ftp right now this doesn't work.

If anybody has a clue i would appreciate the help.

Thanks.

Eric

Last edited by maverick72; 10-23-2013 at 03:56 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

wu-ftpd question

ya i was wondering if there was anyone out there who could show me a good how to page on wu-ftpd ...im running RH 7.1 and i have the update of wu i just need to know how to use it and configure it so the users are limited to their dir and not the whole system .....any help will do ..thx (2 Replies)
Discussion started by: mista_king
2 Replies

2. UNIX for Advanced & Expert Users

ftpd message

hello, On my AIX server 4.3.3.0 the following message appears on the screen: ftpd :Failed dlopen :/usr/lib/libpag.a(shr.o):a file or directory in the path name does not exist. Please help, Thanks . (1 Reply)
Discussion started by: eyounes
1 Replies

3. Linux

Setting up Wu-FTPD server

Hey, I'm running RH 7.1 and i want to beable to swap files back and from it. I've got Wu-ftpd installed and when i try to connect on my windows box with my root account it says to login so i type root and my password and it says that it's an incorrect login. I know i have to add it to a login... (4 Replies)
Discussion started by: byblyk
4 Replies

4. UNIX for Dummies Questions & Answers

Standalone FTPD within SMF

Hello We are trying to run the WU_FTPD demon in standalone mode (-S argument) via an SMF service. Prior to SMF, this was achieved by simply commenting out the FTP line within the inetd.conf file. However, within SMF, I believe we need to carry out the following activities: i) Remove the FTP... (0 Replies)
Discussion started by: CowsUdders
0 Replies

5. Solaris

Turning in.ftpd on and off

For two straight days someone was running in.ftpd in my server (apparently looking to break in) and when I would do "top" almost every line would read "in.ftpd". I had a unix sysadmin friend of mine shut it down and then start it back up in a day and a half and all seems OK for now. Here's what I... (1 Reply)
Discussion started by: thomi39
1 Replies

6. UNIX Desktop Questions & Answers

how to check if a file ftpd to mainframe was actually ftpd

Hi All, I am ftping a file from unix to mainframe. Now the problem arises that i want to check if the file was ftpd or not. Is there any way i could do this? (4 Replies)
Discussion started by: vikas.rao11
4 Replies

7. Linux

wu-ftpd

Hello everyone! I looking for wu-ftpd latest rpm or sorce package. Anyone have idea where i can find? I need to install on Centos 5. please help. -thanks, :) (4 Replies)
Discussion started by: email-lalit
4 Replies

8. Solaris

issues with wu-ftpd 2.6.2 on solaris 9

Hihi, Anyone have encountered any issues with wu-ftpd on solaris 9. There are intermitten error msg 425 can't build data connection with doing ls or get or put files. I have did a sniff and from the sniffer logs I found that the FTP traffic is not using the standard protocol to... (0 Replies)
Discussion started by: ahkimkia
0 Replies

9. SuSE

Pure-FTPd [TLS] Login problem

Hello everybody Recently I installed Pure-FTPd and i tried to connect to my server and i try to login using my ID/PW i got always anonymous login.... here what i got, # ftp ftp> open localhost Trying 127.0.0.1... Connected to localhost. 220---------- Welcome to Pure-FTPd ----------... (0 Replies)
Discussion started by: hael
0 Replies

10. Solaris

Ftpd alarms

Hi, I am facing following alarms in var/adm/messages after an interval of 10 mins. I dont know what the impact is and how can i fix it. Can anyone help please? Dec 4 07:50:03 hxcsvc-a01 ftpd: open_module: stat(/usr/lib/security/pam_unix_session.so.1) failed: No such file or directory Dec ... (4 Replies)
Discussion started by: sni_engineer
4 Replies
proftpd(8)                                                    System Manager's Manual                                                   proftpd(8)

NAME
proftpd - Professional configurable, secure file transfer protocol server SYNOPSIS
proftpd [ -hlntv ] [ -c config-file ] [ -d debuglevel ] [ -p 0|1 ] DESCRIPTION
proftpd is the Professional File Transfer Protocol (FTP) server daemon. The server may be invoked by the Internet "super-server" inetd(8) each time a connection to the FTP service is made, or alternatively it can be run as a standalone daemon. When proftpd is run in standalone mode and it receives a SIGHUP then it will reread its configuration file. When run in standalone mode without the -n option, the main proftpd daemon writes its process ID to /var/run/proftpd.pid to make it easy to know which process to SIGHUP. OPTIONS
-h,--help Display a short usage description, including all available options. -n,--nodaemon Runs the proftpd process in standalone mode (must be configured as such in the configuration file), but does not background the process or disassociate it from the controlling tty. Additionally, all output (log or debug messages) are sent to stderr, rather than the syslog mechanism. Most often used with the -d option for debugging. -q,--quiet Quiet mode; don't send logging information to standard error when running with the -n option. -v,--version Displays the version number of ProFTPD to stdout. -D,--define parameter Sets a configuration parameter which can be used <IfDefine>...</IfDefine> sections in the configuration files to conditionally skip or process commands. -d,--debug debuglevel Sets proftpd's internal debug level (normally 0). The debuglevel should be an integer value from 0 to 10, with higher numbers producing more debug output. Normally, debug messages are sent to syslog using the DEBUG facility, however if the -n option is used, all such output is sent to stderr. -c,--config config-file Specifies an alternate config-file to be parsed at startup, rather than the default configuration file. The default configura- tion file is /etc/proftpd/proftpd.conf -N,--nocollision Disables address/port collision checking. -V,--settings Displays various compile-time settings and exits. -S,--serveraddr Specifies an IP address for the host machine, avoiding an DNS lookup of the hostname -t,--configtest Read the configuration file, report any syntax errors, and exit. -p,--persistent 0|1 Disables (0) or enables (1) the default persistent password support, which is determined at configure time for each platform. This option only affects the default support, it can still be overridden at run-time with the PersistentPasswd directive. -l,--list Lists all modules compiled into proftpd. -4,--ipv4 Support IPv4 functionality only, regardless of whether the --enable-ipv6 configure option was used. -6,--ipv6 Support IPv6 connections and lookup of IPv6 addresses for server DNS names. This is enabled by default, if the --enable-ipv6 configure option is used. FILES
/usr/sbin/proftpd /etc/proftpd/proftpd.conf /usr/bin/ftpwho /usr/bin/ftpcount /usr/bin/ftptop /usr/sbin/ftpshut /var/log/xferlog /var/run/proftpd.pid /var/run/proftpd.scoreboard AUTHORS
ProFTPD is written and maintained by a number of people, full credits can be found on http://www.proftpd.org/credits.html SEE ALSO
inetd(8),ftp(1),ftpwho(1),ftpcount(1),ftpshut(8) Full documentation on ProFTPD, including configuration and FAQs, is available at http://www.proftpd.org/ For help/support, try the ProFTPD mailing lists, detailed on http://www.proftpd.org/lists.html Report bugs at http://bugs.proftpd.org/ July 2000 proftpd(8)
All times are GMT -4. The time now is 12:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy