HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- wu-ftp server problem
Operating System - HP-UX
1829542
Members
2297
Online
109992
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
09-06-2000 02:26 PM
09-06-2000 02:26 PM
wu-ftp server problem
Hello,
I am trying to setup a wu-ftp server on a unix server, 11.0. I have setup a user in /etc/passwd as follows:
lion:*:102:20:,,,:/home/ftp/lion:/etc/ftponly
following the instructions on the www.wu-ftpd.org/HOWTO/guest.HOWTO website.
However, when I ftp to the server with this login, the chroot command does not work. The login can cd to other directories.
At this point of re-reading the HOW-TO guide a bit too many times, suggestions on what I can check are more than welcome.
I am trying to setup a wu-ftp server on a unix server, 11.0. I have setup a user in /etc/passwd as follows:
lion:*:102:20:,,,:/home/ftp/lion:/etc/ftponly
following the instructions on the www.wu-ftpd.org/HOWTO/guest.HOWTO website.
However, when I ftp to the server with this login, the chroot command does not work. The login can cd to other directories.
At this point of re-reading the HOW-TO guide a bit too many times, suggestions on what I can check are more than welcome.
If at first you don't succeed, change the rules!
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2000 03:01 PM
09-06-2000 03:01 PM
Re: wu-ftp server problem
Hi:
See if this document helps: #A5651654. It's relative to 11.0 FTP features.
...JRF...
See if this document helps: #A5651654. It's relative to 11.0 FTP features.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2000 09:42 PM
09-06-2000 09:42 PM
Re: wu-ftp server problem
Hi,
You have to include '/./' somewhere in the user's homedir to indicate the directiry to chroot to.
From the document you reference:
mort:*:403:400:MortimerSnerd:/home/web/mort/./:/etc/ftponly
The /./ sequence determines where the chroot() is done to. If you want the chroot() one to the web directory and a chdir() to mort, it would look like this:
mort:*:403:400:MortimerSnerd:/home/web/./mort/:/etc/ftponly
Hope this helps,
Rik
You have to include '/./' somewhere in the user's homedir to indicate the directiry to chroot to.
From the document you reference:
mort:*:403:400:MortimerSnerd:/home/web/mort/./:/etc/ftponly
The /./ sequence determines where the chroot() is done to. If you want the chroot() one to the web directory and a chdir() to mort, it would look like this:
mort:*:403:400:MortimerSnerd:/home/web/./mort/:/etc/ftponly
Hope this helps,
Rik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2000 02:09 PM
09-07-2000 02:09 PM
Re: wu-ftp server problem
Thanks for your help. I was finally able to get the chroot working. I found a document on #A5651654 (docid: kbrc00000642) that was helpful, combined with the HOWTO guide.
Also, thanks to Paul Hite for the 'ls' not working solution, that was posted on a previous forum. I needed to copy /sbin/ls, not usr/bin/ls.
Also, thanks to Paul Hite for the 'ls' not working solution, that was posted on a previous forum. I needed to copy /sbin/ls, not usr/bin/ls.
If at first you don't succeed, change the rules!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP