- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: restrict ftp user
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
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
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
тАО12-27-2006 06:54 PM
тАО12-27-2006 06:54 PM
restrict ftp user
Do u know how to restrict on HP-UX ftp user to have access to only their home directiories? and also want that restrict this user not to connect system through telnet, rlogin or ssh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2006 06:59 PM
тАО12-27-2006 06:59 PM
Re: restrict ftp user
You define this in /var/adm/inetd.sec
You can also modify it through sam
Networking and communications
System Access
Remote logins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2006 07:36 PM
тАО12-27-2006 07:36 PM
Re: restrict ftp user
The shell /usr/bin/false in /etc/passwd as the default shell prevents non-ftp logins.
The ftpaccess file in your ftpd server can be modified to chroot the user and make their home directory their root directory.
All binaries they need for ftp, e.g. the ls must be provided to the local home directory for this user.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2006 07:37 PM
тАО12-27-2006 07:37 PM
Re: restrict ftp user
you want to read:
man ftpaccess
and/or these earlier threads:
"How can I restrict ftp user within its home director?"
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=137882
"ftp restriction"
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=837471
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2006 08:53 PM
тАО12-27-2006 08:53 PM
Re: restrict ftp user
Plese find the atatched document. It will help you.
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2006 03:11 PM
тАО12-28-2006 03:11 PM
Re: restrict ftp user
What is the version of hp-ux you are running on your server. HP_UX 11i v1 onwards you have inbuild chroot utility. you need to just run a script /opt/ssh/ssh_chroot_setup.sh
Samir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2006 06:29 PM
тАО12-28-2006 06:29 PM
Re: restrict ftp user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2006 06:30 PM
тАО12-28-2006 06:30 PM