- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Setting proper home directory for FTP user..
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-2007 12:57 AM
тАО09-01-2007 12:57 AM
Setting proper home directory for FTP user..
I have added a user "ftp_info" with the default directory as /dataload/infopoint/file_from_sap
but when the user logs in he gets: "
230-No directory! Logging in with home=/
230 User ftp_info logged in. "
How do I set the directory correctly ? Is the file /etc/ftpd/ftpaccess has any thing to do here?
Note that the /dataload directory is owned by
Thanks,,,
- Tags:
- ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2007 01:12 AM
тАО09-01-2007 01:12 AM
Re: Setting proper home directory for FTP user..
I forgot to mention the user should have read only access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2007 01:48 AM
тАО09-01-2007 01:48 AM
Re: Setting proper home directory for FTP user..
Have a look at these docs.
Title: How to set up restricted or chroot'd user accounts with FTP
Document ID: emr_na-c01006067-1
Europe
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01006067-1
US
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01006067-1
Title: How to setup a restricted user for FTP access
Document ID: emr_na-c01032735-1
Europe
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01032735-1
US
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01032735-1
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2007 02:41 AM
тАО09-01-2007 02:41 AM
Re: Setting proper home directory for FTP user..
> default directory as
> /dataload/infopoint/file_from_sap
Prove it. What, exactly, is in /etc/passwd
(or wherever)?
Does the directory exist? Who owns it? What
are its permissions? ("ls -dl".) If the
user can't access his own home directory,
then you can expect problems.
Can the user log in interactively, or is this
entirely an FTP problem? If it affects more
than FTP, then /etc/ftpd/ftpaccess is probably
not the cause.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2007 07:23 PM
тАО09-01-2007 07:23 PM
Re: Setting proper home directory for FTP user..
Hello,
Thank for the replies.. I remember in AIX we added the file: /etc/ftpaccess.ctl
with the lines:
useronly:FTP_INFO
readonly:/dataload/infopoint/files_from_sap
Can the same be applied in HP-UX ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2007 02:05 AM
тАО09-02-2007 02:05 AM
Re: Setting proper home directory for FTP user..
"man ftpd".
> Thank for the replies..
If you really want answers, it might be nice
if you answered some of the questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2007 05:00 PM
тАО09-02-2007 05:00 PM
Re: Setting proper home directory for FTP user..
Thanks,
I did a man ftpd before posting here.
- Directory is owned by
- user ftp_info exists.
- I have fixed the error above. Now the ftp_info user can login to his home directory.
The only pending issue with me is the permissions. Since he can cd to other directories whereas I want to prevent this....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2007 05:50 PM
тАО09-02-2007 05:50 PM
Re: Setting proper home directory for FTP user..
Didn't seem to help.
> - I have fixed the error above.
I guess that I should have known that
already.
> [...] I want to prevent this....
Read more?
> Title: How to set up restricted or
> chroot'd user accounts with FTP [...]