- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP Options
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
Discussions
Discussions
Forums
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
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
тАО02-08-2002 03:36 AM
тАО02-08-2002 03:36 AM
This is the continuation of my previous question. Now I restricted all users ftp connection thru /etc/ftpusers file and I have created one user particularly for ftp called "onlyftp" and I have put /usr/bin/rsh as it startup shell. Now what I want is he should not be able to move around after ftp connection established. He should play only in his home directory. How to set this??? Is there anyway to do this other than portable softwares??? Because of security prblm, anonymous ftp is not a choice for me.
Thanks in advance
Shahul
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2002 04:23 AM
тАО02-08-2002 04:23 AM
Re: FTP Options
In order to chroot the users environment, you have to set the home dir in the passwd file to something like /home/onlyftp/./
The ftp daemon will chroot to the home dir of the user when it sees the ./
Which version of HP-UX do you use?
Regards,
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2002 06:23 AM
тАО02-08-2002 06:23 AM
Re: FTP Options
I'm guessing 11.0 or greater.
You will need to set up ftpaccess.
man 4 ftpaccess
add the -a option to ftpd in the inetd.conf
man ftpd
Also, If you only want ftp for the user. The user should not have a valid shell. Instead, give the user a shell of /usr/bin/false and add this shell to /etc/shells.
Hope this helps.
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2002 10:11 PM
тАО02-10-2002 10:11 PM
Re: FTP Options
I changed home directory as per ur advice. But no effect. Still he is able to change home directory after establishing FTP connection.
Joseph.. I am using HPUX 10.2. ftpaccess option is not there in this.
Expecting ur advice again
With rgds
SHahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2002 11:43 PM
тАО02-11-2002 11:43 PM
SolutionIf you're running hp-ux 10.20 you should consider installing wu-ftp. The ftpd version that comes with hp-ux 11.00 is based on this and is a lot more configurable than the ftpd that comes with 10.20.
The depot can be downloaded here:
http://hpux.cs.utah.edu/hppd/hpux/Networking/FTP/wu_ftpd-2.6.1/
Regards,
Vincent