HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: chroot/ftp browser issue
Operating System - HP-UX
1838669
Members
5749
Online
110128
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
11-08-2001 11:34 AM
11-08-2001 11:34 AM
chroot/ftp browser issue
Hi all,
I have implemented restricted access for users to get into our ftp server. The server is on hpux 11.0 and is a trusted system.
Have implemented chroot, where the user lands in his home directory (but the directory looks like root directory to user). This works just fine on commandline ftp, but when I use any browser (both IE and Netscape) all I see is a blank page on the browser. Also the syslog says that the ftp session is closed.
Any thoughts, ideas why this is not working
Regards.
SK
I have implemented restricted access for users to get into our ftp server. The server is on hpux 11.0 and is a trusted system.
Have implemented chroot, where the user lands in his home directory (but the directory looks like root directory to user). This works just fine on commandline ftp, but when I use any browser (both IE and Netscape) all I see is a blank page on the browser. Also the syslog says that the ftp session is closed.
Any thoughts, ideas why this is not working
Regards.
SK
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 11:45 AM
11-08-2001 11:45 AM
Re: chroot/ftp browser issue
Typically ftp from a browser is anonymous unless otherwise specified.
Are you using this syntax in your browser FTP?
ftp://userid:passwd@hostname.domain.com
Are you using this syntax in your browser FTP?
ftp://userid:passwd@hostname.domain.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 11:51 AM
11-08-2001 11:51 AM
Re: chroot/ftp browser issue
Hust got it working.
The reason was that in the group file for the ftpgroup I had no space after the comma between users. ( weird, but when I gave a space bet. users it just started working).
I also noticed that if the user has the ftpgroup as the primary group in the passwd file it doesnt' work. So if I change it to any other group it does
Thanks for the reply Patrick.
The reason was that in the group file for the ftpgroup I had no space after the comma between users. ( weird, but when I gave a space bet. users it just started working).
I also noticed that if the user has the ftpgroup as the primary group in the passwd file it doesnt' work. So if I change it to any other group it does
Thanks for the reply Patrick.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 05:32 PM
11-08-2001 05:32 PM
Re: chroot/ftp browser issue
As you're making the home directory the FTPROOT, there is no way to be able to do an ls as there is no common place where binaries live to do this.
Remember /home/scott is now the root directory.
you need to have /home/scott/usr/bin/ls
the ls binary - for this to work.
I suspect that if you actually log in via the command line, and type "dir" you wont see anything either.
you must use the non linked version of ls which is in /sbin/
In short:
- create /usr/bin/ in the virtual root dir.
- copy /sbin/ls into that dir.
- make the permissions such that "everyone" can at least read and execute the ls binary.
it should work.
I ran into this EXACT problem when setting up virtual root DIRS for our clients (only a handful) on one of our systems.
If you go to say ftp.hp.com you will see both bin and usr directories. I suspect that HP are also using a virtual root on some server, but you need the ls binary to be able to see anything.
I know this is a bit bodgy and probably doesn't make sense as I haven't explained myself well, but this is why you don't see anything.
Try it with just one user and log in, see what happens.
Scott.
Remember /home/scott is now the root directory.
you need to have /home/scott/usr/bin/ls
the ls binary - for this to work.
I suspect that if you actually log in via the command line, and type "dir" you wont see anything either.
you must use the non linked version of ls which is in /sbin/
In short:
- create /usr/bin/ in the virtual root dir.
- copy /sbin/ls into that dir.
- make the permissions such that "everyone" can at least read and execute the ls binary.
it should work.
I ran into this EXACT problem when setting up virtual root DIRS for our clients (only a handful) on one of our systems.
If you go to say ftp.hp.com you will see both bin and usr directories. I suspect that HP are also using a virtual root on some server, but you need the ls binary to be able to see anything.
I know this is a bit bodgy and probably doesn't make sense as I haven't explained myself well, but this is why you don't see anything.
Try it with just one user and log in, see what happens.
Scott.
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