- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Using FTP
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
06-06-2002 09:29 AM
06-06-2002 09:29 AM
Dear friends
I need to give access ftp to an user who daily makes download of some archives in the HP server. I need that it does not obtain to dislocate itself among other directories that not your home directory. How I can make this? I tried to use rsh, but the ftp does not respect shell restricted.
I thank any idea.
Wagner
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 09:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 09:53 AM
06-06-2002 09:53 AM
Re: Using FTP
If you are running 11.0, try ftpaccess. Do "man ftpaccess" for more info on the options with ftpaccess.
Try this link on how to etup ftpaccess on your system,
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=500000000092476
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 10:09 AM
06-06-2002 10:09 AM
Re: Using FTP
Mlden
Problem 100% fixed.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2002 07:24 AM
10-02-2002 07:24 AM
Re: Using FTP
I'll simplify the process for you.
1st change the users shell to '/usr/bin/false'
2nd create a file /etc/shells containing the following
/usr/bin/false
/bin/sh
/sbin/sh
/usr/bin/sh
/bin/ksh
/usr/bin/ksh
/bin/csh
/usr/bin/csh
Now the user can FTP only to the system.
Next,
change the users home directory to /home/./user
the /./ indicates to wu-ftpd where to chroot a user to.
in the /./ directory you will need a bin direcory wich mod 555.
copy the fillowing files to that bin directory
/sbin/ls
/sbin/tar
Now in your /./bin directory type
ln -s ./ls ./dir
That's it, your all done!
There is oodles of other information on the site for anonymous FTP and wu-ftpd so feel free to look.
NOTE: 10.20 shipped with Fort Knox proxy which does not support chroot'ed environments.
As 2 ftp servers are supported in hp-ux 11.x make sure you have wu-ftpd installed.
Regards,
Shannon