- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ftp access (chroot'ing)
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
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
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
тАО05-04-2004 03:13 AM
тАО05-04-2004 03:13 AM
ftp access (chroot'ing)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2004 03:20 AM
тАО05-04-2004 03:20 AM
Re: ftp access (chroot'ing)
Try this,
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000073094324
The doc id is KBRC00008355.
Also do man ftpaccess for more help.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2004 09:04 AM
тАО05-04-2004 09:04 AM
Re: ftp access (chroot'ing)
The 2nd part of this is a step-by-step on how to do restricted FTP.
- Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2004 03:37 PM
тАО05-04-2004 03:37 PM
Re: ftp access (chroot'ing)
The steps in the article that Sanjay included is pretty accurate based on what I did, but just remember to assin the false shell, otherwise the user can have telnet or direct access, too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2004 05:41 PM
тАО05-04-2004 05:41 PM
Re: ftp access (chroot'ing)
1)Creat a user with shell /usr/bin/ftpshell
which will contain exit 0.
2)Edit password file and on home directory column make an entry like /home/./ftpdir
(eg;
test:*:102:108:Test Ftp user:/home/./ftpdir:/usr/bin/ftpshell
); 108 is group id for ftpusr
3) make entry in /etc/group like
ftpusr:108:test
4)make an entry for /usr/bin/ftpshell in /etc/shells. (perm 644 , root:sys)
5)Make a "usr/bin/" directory under /home.
6) copy ls from /sbin to here /home/usr/bin.(cp /sbin/ls /home/usr/bin) Perm: 555;bin:bin
7)Make entry /etc/ftpd/ftpaccess file accordingly. Basically cdpath entry is required. Do man ftpaccess for more information.
Happy ftp accessing.
Rgds
Tapas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2004 11:13 PM
тАО05-04-2004 11:13 PM
Re: ftp access (chroot'ing)
Sanjay's link really helped me a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2004 11:41 PM
тАО05-04-2004 11:41 PM
Re: ftp access (chroot'ing)
judging from the response to those who have help you, i.e. "I have assigned points to 0 of 24 responses to my questions.", maybe it is time for you to read this:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
these people have help, so please assign some points, it is a "ITRC Forum" token of appreciation.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2004 03:41 PM
тАО05-18-2004 03:41 PM
Re: ftp access (chroot'ing)
I assume this is your first experience on the ITRC forum as you did not award points to the forumers for the answers you were provided. May I suggest that you take a look at the following link to learn about the points system in use here. Thanks.
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
Please read the article, assess the assistance you were provided by the forumers, then reward them. Thanks!