- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Ftp server configuration
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
10-24-2002 06:16 AM
10-24-2002 06:16 AM
I tried to configure my ftp server ((FTP server (Version 1.1.214.4(PHNE_23950))without succes regarding chroot user.
I would like to create only an ftp access, without shell, for user pro. I've just added /usr/bin/false to my /etc/shells and after I've added the user with /usr/bin/false shell.
Now, I wuold like to chroot this user only to his directory /home/pro .
Could someone sugget me how to do it?
Thanks a lot
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 06:25 AM
10-24-2002 06:25 AM
Re: Ftp server configuration
Check out these docs:
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063248362
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062906536
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062909155
A generic ftpaccess file is in /usr/newconfig/etc/ftpd . You can use it to customize to your environment.
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 06:38 AM
10-24-2002 06:38 AM
Re: Ftp server configuration
i had a similar post a few month ago.
please see:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfcc491ccb36bd611abdb0090277a778c,00.html
or
take a look at the thread below on how to setup ftpaccess on your system.
http://us-support.external.hp.com/cki/bin/doc.pl/sid=f3889157083aef0a6e/screen=ckiDisplayDocument?docId=500000000092476
Hope this helps!
Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 07:34 AM
10-24-2002 07:34 AM
Re: Ftp server configuration
here's my ftpaccess.
...
# cdpath
cdpath /incoming
cdpath /pub
cdpath /
...
guestgroup ict
and this is my /etc/passwd related to chroot user:
pro:"password":6071:3029::/bmd/input/./:/usr/bin/false
When I logged with pro users I see this:
Password:
230 User medpro logged in. Access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd
257 "/" is current directory.
But the directory should be /bmd/input and not / .
My /etc/shells contains all type shell, also /usr/bin/false.
My inetd was modified with -a option.
Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 07:49 AM
10-24-2002 07:49 AM
Re: Ftp server configuration
I forget a step in previous post:
I do it for chroot user:
mkdir usr
mkdir usr/bin
cp /usr/bin/ls usr/bin/ls
chmod -R 555 usr
chown -R bin:bin usr
but I see this error:
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000002
226 Transfer complete.
Why ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 08:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2002 08:13 AM
10-24-2002 08:13 AM
Re: Ftp server configuration
Regards,
Fabrizio