- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- [urgent] ftpaccess only its home directory
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
Forums
Discussions
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
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-15-2004 07:12 PM
09-15-2004 07:12 PM
I made a account which for ftp access only that can moves in its home directory by the attached file.But, it didn't work correctly,the account could move to all directory include of /
what can I see on this situation?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 07:20 PM
09-15-2004 07:20 PM
SolutionI see you created guestgroup 'ftponly'. Did you add the users that you want to restrict to it?.
Whenever the affected user does an ftp, it should display a message something like 'restrictions apply' something like that. Then only you are sure it works.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 07:27 PM
09-15-2004 07:27 PM
Re: [urgent] ftpaccess only its home directory
Yes, I did
after I have had a procedure from the file,
I test whether it works well or not,
No idea why the user that i want to restrict,can move to other directory freely.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 07:48 PM
09-15-2004 07:48 PM
Re: [urgent] ftpaccess only its home directory
Can you post your ftpaccess file?. See if you have these lines in it.
class local real,anonymous *.domain 0.0.0.0
class remote real,anonymous *
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 08:11 PM
09-15-2004 08:11 PM
Re: [urgent] ftpaccess only its home directory
thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 08:24 PM
09-15-2004 08:24 PM
Re: [urgent] ftpaccess only its home directory
# cdpath
cdpath /incoming
cdpath /pub
cdpath /
so user can go /incoming /pub and / tooo.
Try to change the one with allowable path there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 08:26 PM
09-15-2004 08:26 PM
Re: [urgent] ftpaccess only its home directory
I don't see any reason why it shouldn't work. Your ftpaccess file is looking good. I would double check the following.
1. Make sure the primary group of the user is ftponly.
2. Make sure -a is added to ftpd in /etc/inetd.conf. Also enable -l flag for further logging. Run 'inetd -c'.
Do you get any messages other than standard ftp text when you do ftp?.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 08:47 PM
09-15-2004 08:47 PM
Re: [urgent] ftpaccess only its home directory
cd /testing
cd /dir1
cd /
If you try cd stand then, it will search one bye one as,
cd /testing/stand
or
cd /dir1/stand
or
cd /stand
there
So change the one and TRY now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2004 01:37 PM
09-16-2004 01:37 PM
Re: [urgent] ftpaccess only its home directory
The problem was 'ftponly'group that what i want set.