- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with ftp and chroot jail
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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
03-27-2008 04:00 AM
03-27-2008 04:00 AM
/etc/passwd entry:
ftpuser:*:661:661:FTP \ User,,,:/home/ftpuser/./:/usr/bin/false
Group file contains:
ftpuser::661:
/etc/shells contains:
/usr/bin/false
/etc/ftpd/ftpaccess contains:
guestuser ftpuser
.
When I ftp to the account, pwd shows the full path and I can cd to /.
I have obviously missed something, but I don't know what. Help or advise please?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2008 04:06 AM
03-27-2008 04:06 AM
Re: Problem with ftp and chroot jail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2008 04:30 AM
03-27-2008 04:30 AM
Re: Problem with ftp and chroot jail
What group is ftpuser in?
...and have you considered "ssh" for your ftp access (sftp)? With this you get the added feature of encryption -and- when I set this up on our ftp-only (chrooted) server there was such a nice utility called: ssh_chroot_setup.sh.
Just a thought,
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2008 05:38 AM
03-27-2008 05:38 AM
Re: Problem with ftp and chroot jail
inetd.conf entry:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -a -u 111
I would prefer sftp, but the customer has a requirement to use ftp, so my hands are tied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2008 06:38 AM
03-27-2008 06:38 AM
Re: Problem with ftp and chroot jail
Having re-read your reply, I noticed that you mentioned guestgroup rather than guestuser. Since I had just plagiarized that from another thread, I did not question its accuracy, but you were correct, and it should have been guestgroup.
Please post another reply so I can give you the points you deserve.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2008 09:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2008 12:22 AM
03-28-2008 12:22 AM