- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 06:38 AM
01-22-2003 06:38 AM
ftp problem
I have configured ftpaccess and I have configured ftp for restriction for group guest.
If i try to connect from a windows client, all work correctly, but if I try to connect from a unix client (another server) I can't list any file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 07:50 AM
01-22-2003 07:50 AM
Re: ftp problem
/sbin/ls
/usr/bin/pwd
This is talked about in other threads...you can Search for
My guess is...(note I said guess) that your FTP is really not secured.
What about chroot on your users account?
How did you set up your ~/ftpaccess file?
Did you set your permissions correctly?
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 07:57 AM
01-22-2003 07:57 AM
Re: ftp problem
Should say..copy to /home/user/bin the following files:
/sbin/ls
/usr/bin/pwd
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 08:04 AM
01-22-2003 08:04 AM
Re: ftp problem
I did it all this step, but the problem is:
Why from windows it work fine and from another unix it don't works?
ftp or not ftp, this is the question.
(ftpHamlet!!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 08:11 AM
01-22-2003 08:11 AM
Re: ftp problem
with perl using Net::FTP:
use Net::FTP;
my $ftp = Net::FTP->new ("unix.host.name", Debug => 9);
and maybe passive might help
my $ftp = Net::FTP->new ("unix.host.name", Debug => 9, Passive => 1);
Another thing that might influence the connection are the values for $SHELL and $TERM. FTP refuses connection if the default shell for the user is not known to ftpd and cannot be found in /etc/shells (if it exists). Note that not all clients pass the same information to the unix host.
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 10:16 AM
01-22-2003 10:16 AM
Re: ftp problem
dir (ls -l) or any other flags issued with ls cause the external ls to be invoked.
If you don't have external ls set up correctly, these comands will return without listing anything.
Most of these problems stem from ls being incorrectly set up in chroot'd environments. You must copy /sbin/ls to
~chroot/bin/ls to get this to work.
If you want to see what's happening, add -v to the command switches on ftpd in inetd.conf to get debugging (debugs appear in syslog).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 11:48 AM
01-22-2003 11:48 AM
Re: ftp problem
I have done all steps that you have wrote but it doesn't work.
But the question is: why if I run ftp from windows to unix ftpaccess work and if I run ftp on the same server or from another unix server ftpaccess doesn't work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 12:18 PM
01-22-2003 12:18 PM
Re: ftp problem
The clients are using different commands to get directory listings; one's using nlist, the other's using dir or ls with flags.
nlist is internal to ftpd, dir or ls with flags calls an external ls.
Try nlist on the other Unix server instead of ls or dir. If nlist works, but ls doesn't then external ls isn't set up correctly.
The other place you might look is host based access - you can class users based on source IP. Check to make sure you're _not_ doing that.
If none of that works, post
-the entry in /etc/passwd for the guest user
-post an ll -d of the guest users home directory
-post an ll of the guest user's home directory
-post an ll of the _full_ path to the place where you put external ls