- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to restrict ftp user only access it's own home...
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
тАО01-21-2009 09:37 PM
тАО01-21-2009 09:37 PM
How can i restrict ftp user only access it's own home directory
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 02:46 AM
тАО01-22-2009 02:46 AM
Re: how to restrict ftp user only access it's own home directory
You will need to have a registered support contract to view next document.
Title: How to set up restricted or chroot'd user accounts with FTP
Document ID: emr_na-c00905690-5
http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00905690-5
Regards,
Robert-Jan
Ps, please assign points for answers to your questions!
http://forums11.itrc.hp.com/service/forums/pageList.do?userId=WW185421&listType=unassigned&forumId=1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 03:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 03:10 AM
тАО01-22-2009 03:10 AM
Re: how to restrict ftp user only access it's own home directory
google+restricted shell
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 03:29 AM
тАО01-22-2009 03:29 AM
Re: how to restrict ftp user only access it's own home directory
> contract [...]
There is some evidence to the contrary [*],
but I claim that "man ftpd" and "man
ftpaccess" contain all you need to know to
set up "guest" users. For these "guest"
users, the ftpd does a chroot(), which should
hide other parts of the file system.
As explained ("man ftpd"), you do need to add
some things to a guest user's home directory
if you want all the usual FTP commands to
work.
[*] http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1303627
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 04:34 AM
тАО01-22-2009 04:34 AM
Re: how to restrict ftp user only access it's own home directory
1) FTP restricted user creation {modify it as per your requirment}
#useradd -m -d /homedirectory/./ -s /usr/bin/false -g {group} {username}
2) If you alreday have created the user,
#vi /etc/passwd
and add /./ after home directory...user will not be able to move to other directory (but user can login through telnet)
3) If want to block telnet also (user can login through ftp only).
#vi /etc/passwd
/usr/bin/false (chnage the shell)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 07:36 AM
тАО01-22-2009 07:36 AM
Re: how to restrict ftp user only access it's own home directory
Don't forgot to assign the points..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2009 11:12 PM
тАО01-25-2009 11:12 PM