- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Restricting ftp acccess - stopping uploads
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
02-01-2002 02:11 AM
02-01-2002 02:11 AM
Having read the man page and a multitude of Forum messages, I am no closer to resolving an ftp access issue.
User 'rdbftp' has a home directory of '/pkg/rdb03/./import', the ftpaccess file is being used, because I turned logging on and saw the resultant entries in 'syslog'.
Entries for permission denial include,...
upload /pkg/rdb03 /log no
upload /pkg/rdb03 /archive no
upload /pkg/rdb03 /scripts no
As far as I am aware, the home directory specified above will perform a 'chroot' to /pkg/rdb03, so the upload blocking should work.
Unfortunately this is not the case. I can upload data into /pkg/rdb03/log as the User.
My question is, is this
(a) a problem with the home directory setup for the User?
(b) a problem with the 'ftpaccess' configuration?
(c) something to do with anonymous ftp or guest users? OR
(d) a hint I should have brought that petrol station 3 years ago?
Points for informative hints,
Share and Enjoy! Ian Dennison
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2002 02:32 AM
02-01-2002 02:32 AM
Re: Restricting ftp acccess - stopping uploads
If you want to stop uploading, or writing to that directory for that user, how about simply taking write access of that directory - that should stop them uploading.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2002 04:47 AM
02-01-2002 04:47 AM
Re: Restricting ftp acccess - stopping uploads
According to the man page for ftpaccess(4), the first argument to the "upload" directive should be the home directory of the user.
As I understand it, your ftpaccess should read:
upload /pkg/rdb03/./import /log no
upload /pkg/rdb03/./import /archive no
upload /pkg/rdb03/./import /scripts no
Fill her up...with points :-) But only if this actually works, of course...
Grtz.
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2002 04:56 AM
02-01-2002 04:56 AM
Solutionhttp://www.wu-ftpd.org/HOWTO/upload.configuration.HOWTO
See the section entitled
Upload restrictions for guest users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2002 05:14 AM
02-01-2002 05:14 AM
Re: Restricting ftp acccess - stopping uploads
Chris - thanks for the link, it explained the problem quite well, and I was able to nut it out from there.
Out of interest, the solution was as follows,....
upload /pkg/rdb03/./import * no
upload /pkg/rdb03/./import /pkg/rdb03/import yes rdbftp rdbgroup 0660 nodirs
I.E. Deny all, but also approve literal path of directory. It seems that the home directory needs to be the literal entry from /etc/passwd.
Nanu Nanu! Ian Dennison
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2002 05:51 AM
02-01-2002 05:51 AM
Re: Restricting ftp acccess - stopping uploads
You solved the problem yourself, so 3 points for my answer is more than enough.
Thanx,
Vincent