- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp restricted user and chroot
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
11-09-2000 10:08 AM
11-09-2000 10:08 AM
ftp restricted user and chroot
The passwd entry is:-
user:*:550:3334:,,,:/local/data/user/./:/usr/bin/ftpshell
The ftpshell does an "exit 0" to disallow login.
The /etc/ftpd/ftpaccess has got the 3334 group added in guestgroups.
I've added the "ftpd -a -l" in the inetd.conf to read the ftpaccess file for allowed guest groups and restarted inetd daemon.
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 12:48 PM
11-09-2000 12:48 PM
Re: ftp restricted user and chroot
See if this thread helps resolve your problem:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x05970559ff7cd4118fef0090279cd0f9,00.html
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 02:22 AM
11-10-2000 02:22 AM
Re: ftp restricted user and chroot
That is indeed the document I used to set this ftp user up, and I've re-checked it many times with no luck. So I'm still stuck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 01:12 AM
04-26-2002 01:12 AM
Re: ftp restricted user and chroot
All other parts of the config are Ok (ftpshell with exit 0, etc...). Did you include the line
/usr/bin/ftpshell
in the file /etc/shells ?
This is important.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 08:36 AM
04-26-2002 08:36 AM
Re: ftp restricted user and chroot
http://www.invenioeng.com/systems/index.html
Select the top link to documents, then to ftp server docs.
Some things I do...
1. chrooted user entry home should be
/dir/home/./johndoe
I make the home dirs owned by root and 555 permissions. Nothing but .message, blank .rhosts, blank .forward is in their home. (obvious security issues resolved) I give them an incoming and outgoing directory in their home that they own. permissions 700. People can cd .. and see other's home's but never access data.
If you dont want them to see each other's stuff, you will have to create separate chrooted stuff in each users home. I.E. /bin/ls, /etc/passwd, etc...
If your not comfortable with the above, use proftpd. It supports chrooted environments without all the binaries, only requires /etc/messages in each users home.
BTW: standard is to use /bin/false for ftp users so that they can not telnet in . It does the same as your ftpshell, but is standard on all systems.
Regards,
Shannon