- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Read-Only FTP Access
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
тАО09-01-2009 07:15 PM
тАО09-01-2009 07:15 PM
Read-Only FTP Access
The user account to have only read-only recursive access and denied access to other directories.
Can someone had a template which I could use?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 07:50 PM
тАО09-01-2009 07:50 PM
Re: Read-Only FTP Access
What is happening right now? Are your users being denied access or given too much access.
How are files placed on the ftp server? You may need to adjust the umask of the users placing files.
http://docs.hp.com/en/5971-2286/5971-2286.pdf
That is a read me on the server.
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
тАО09-01-2009 08:40 PM
тАО09-01-2009 08:40 PM
Re: Read-Only FTP Access
> [...]
What are "partial subdirectories"?
> The user account to have only read-only
> recursive access and denied access to other
> directories.
Does "recursive access [...]" mean only
directories under the user's home directory?
If so, then a "guest" ("chroot") account
should do the job. "man ftpd" explains how
to arrange a "guest" account.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2009 09:03 PM
тАО09-01-2009 09:03 PM
Re: Read-Only FTP Access
passwd:
guestftp:*:600:90:Guest FTP Account,IT Dept,,:/data/./:/usr/bin/nologin
ftpaccess:
class guest1 guest* 10.21.*
guestgroup ftponly
autogroup csms guest1
upload class=guest1 /data/interface /interface yes guestftp csms 0440 nodirs
upload class=guest1 /data/src /src yes guestftp csms 0440 nodirs
csms 0440 nodirs
These directory is owned by group "csms".
But currently I was denied access when I login. I can't figure out how to get "autogroup" to work.
When I login:
230 User guestftp logged in. Access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
226 Transfer complete.
I did not see any directory listing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2009 05:37 AM
тАО09-02-2009 05:37 AM
Re: Read-Only FTP Access
For a recent similar complaint, see:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1367463
Skip down to near the end. (Look for
"guest".)
Or, "man ftpd", look for "guest", and follow
the instructions carefully.