- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to restrict my one ftp user account only a...
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
тАО04-16-2009 08:07 AM
тАО04-16-2009 08:07 AM
how to restrict my one ftp user account only access his home directory
I have created one ftp user account 'abc', and his home directory is '/home/abc'. How can i restricted him only get and upload data in his own home directory '/home/abc' ?
Ps :
I have created the 'abc' account, and use /usr/bin/false to let him cannot use telnet login.
Best Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2009 08:26 AM
тАО04-16-2009 08:26 AM
Re: how to restrict my one ftp user account only access his home directory
Have you heard of "chroot jail", you should be able to implement that here to solve your problem for info read the below wiki page
http://en.wikipedia.org/wiki/Chroot_jail
Hope that helps.
-uvk
Like it or worked !! Click kudos !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2009 08:32 AM
тАО04-16-2009 08:32 AM
Re: how to restrict my one ftp user account only access his home directory
Thanks for your messages, but dont understand it. Does there are any simple method ?
BR
eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2009 08:41 AM
тАО04-16-2009 08:41 AM
Re: how to restrict my one ftp user account only access his home directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2009 08:49 AM
тАО04-16-2009 08:49 AM
Re: how to restrict my one ftp user account only access his home directory
There is a recent thread about this
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1327896
and many other for example
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=67609
In fact, you should consider created a chroot restricted ftp "a jail" with some ftp server like ProFtpd or change the permission
look a this paper
http://www.packetstormsecurity.org/0001-exploits/mi009en.htm
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2009 11:12 AM
тАО04-16-2009 11:12 AM
Re: how to restrict my one ftp user account only access his home directory
Quite simple actually. Create a group called ftpgroup. Add the user to want (in your case abc) to this group. Then as a home directory in the password file you would put the home directory for this user as /home/abc/./
When the user ftp's into the server, the home directory will be displayed as / while it's really /home/abc. This will prevent the user from being able to traverse up the directory tree, only down.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2009 01:40 PM
тАО04-16-2009 01:40 PM
Re: how to restrict my one ftp user account only access his home directory
search, and find some of the very many other,
similar requests?