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
01-31-2002 01:22 AM
01-31-2002 01:22 AM
I have a ftp user, pippo, that has a home dir called /home/pippo. This user has to put files in 2 dir /portale, /intranet. What do i have to do to let this user put files into only this dir but without given read acces to other dir under /, leaving the same dir permissions?
Thanks a lot.
Solved! Go to Solution.
- Tags:
- ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 03:20 AM
01-31-2002 03:20 AM
Re: ftp user
when the file is under a directory, the owner of that directory can read the file.
for ur task best way is to use "crypt" and "encrypt" to unlock
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 04:59 AM
01-31-2002 04:59 AM
Re: ftp user
I would do this:
user pippo should be registered as guest (see man pages for ftp) ftp user. You can restrict permissions for guest user to access only to his home dir (he sees his home dir as /). Then you can put links to required dir into pippo's home dir.
Later,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 05:31 AM
01-31-2002 05:31 AM
Re: ftp user
you can configure ftpaccess to restrict the user access to certain directories and also his ability to read/write/overwrite files.
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=804307f00266bf265f/screen=ckiDisplayDocument?docId=200000055935266
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=804307f00266bf265f/screen=ckiDisplayDocument?docId=200000055253542
Hope this helps.
Regds
- Tags:
- ftpaccess
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 05:49 AM
01-31-2002 05:49 AM
Re: ftp user
Sanjay is right on target. You will need to set up ftpaccess.
man 4 ftpaccess
Also, you will need to modify the ftpd entry in you inetd.conf to add the -a option. This option tell ftpd to use the ftpaccess configuration file.
man ftpd
Hope this helps,
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 05:58 AM
01-31-2002 05:58 AM
Re: ftp user
the previous suggested has centered the target. But on my opinion you can also create a gruop of user (with pippo inclueded) that have the right permission on /portale /intranet.
bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 07:52 AM
01-31-2002 07:52 AM
Re: ftp user
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 08:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 09:48 AM
01-31-2002 09:48 AM
Re: ftp user
I have made some of this tips, but i have a question:
the user pippo that has home /home/pippo, must to put files into only two dir, /pluto/paperino/topolino/minni and /pluto/paperino/osvaldo/minni, but i want that this user don't has read permission in other directories and files under /. I have created 2 symbolik link under root portale@ -> /pluto/paperino/topolino/minni and intranet@ -> /pluto/paperino/osvaldo/minni. What do i have to do to make it possible?
thanks. Gabriele
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 09:53 AM
01-31-2002 09:53 AM
Re: ftp user
If you are using ftpaccess to configure this user. Let the user homedirectory be /home/pippo. set two aliases that will allow the user to move into the two directories where you want him to put the files. If you set ftpaccess, the system does a chroot when the user logs into ftp, so he sees his homedirectory as root and the original root is invisible to him. You can allow the user to write into the two directories you want. He won't be allowed to move into any other direcroty. Do a "man ftpaccess" which will help you a little more in understanding how you can configure the ftpaccess top suit your needs.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 09:56 AM
01-31-2002 09:56 AM
Re: ftp user
If you want to take a printout of the ftpaccess man page, do this,
man ftpaccess |col -b |lp
to copy the many page to a file,
man ftpaccess |col -b >/tmp/ftpaccess.man
The "col -b" will remove the control characters from the man page.
Hope this helps.
Regds