- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- what should I copy to my restrict ftp user home di...
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
Forums
Discussions
Discussions
Discussions
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
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
04-26-2005 09:22 AM
04-26-2005 09:22 AM
what should I copy to my restrict ftp user home directory
Everything works fine but he can't do any command. I just copy the "ls" command to his home directory... but I don't know what more should I copy to it.
Could somebody advice me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 09:31 AM
04-26-2005 09:31 AM
Re: what should I copy to my restrict ftp user home directory
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 09:31 AM
04-26-2005 09:31 AM
Re: what should I copy to my restrict ftp user home directory
One method is setting up the chroot jail for the ftp user. In this case you need to copy over some of the more common commands (ls as example) into some of the directories you created under the chroot jail. Purpose is you are recreating a "lite" version of the OS that only that specific ftp user can use.
There is a document called "Securing the FTP service on HPUX: Anonymous FTP and a Restricted FTP Account" This document has all you need to get the configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 09:59 AM
04-26-2005 09:59 AM
Re: what should I copy to my restrict ftp user home directory
All I have in /home/ftp/usr/bin is ls.
Since everything else works fine, I'm assuming you set up restricted ftp ok.
Hope this helps
B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 01:26 PM
04-26-2005 01:26 PM
Re: what should I copy to my restrict ftp user home directory
make sure these steps r follow:
create the following subdirectories and files:
# cd
# mkdir /usr
# chown -R bin:bin usr
# chmod 555 usr
# mkdir /usr/bin
# cd bin
# chown -R bin:bin usr bin
# chmod 555 bin
# cp -p /sbin/ls /
hope this helps.
regards.
(p.s. remember to assign points)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2005 02:41 AM
05-13-2005 02:41 AM
Re: what should I copy to my restrict ftp user home directory
I did It ok.